Blocks: Add a $source_block parameter to the render_block_data filter.

This contains a copy of the block, unmodified by other filter functions, so that plugins have a clean reference to work from, if they need.

Props dmsnell.
Fixes #45451.


Built from https://develop.svn.wordpress.org/trunk@44576


git-svn-id: http://core.svn.wordpress.org/trunk@44407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast
2019-01-14 01:47:51 +00:00
parent 1c59f76953
commit 0bbfe3b8e2
2 changed files with 6 additions and 3 deletions

View File

@@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.1-beta1-44575';
$wp_version = '5.1-beta1-44576';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.