mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-24 08:21:38 +01:00
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:
parent
6a66e05d41
commit
eae31174d2
@ -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(
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user