Editor: Add further test coverage for wp_render_elements_support().

Props dmsnell, aaronrobertshaw.
Fixes #59578.

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


git-svn-id: http://core.svn.wordpress.org/trunk@56340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Felix Arntz 2023-10-11 15:15:30 +00:00
parent 6a66e05d41
commit eae31174d2
2 changed files with 4 additions and 1 deletions

View File

@ -36,6 +36,9 @@ function wp_render_elements_support( $block_content, $block ) {
}
$block_type = WP_Block_Type_Registry::get_instance()->get_registered( $block['blockName'] );
if ( ! $block_type ) {
return $block_content;
}
$element_color_properties = array(
'button' => array(

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.4-beta3-56827';
$wp_version = '6.4-beta3-56828';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.