Code Quality: Remove unnecessary array check for value return in WP_Theme_JSON::get_property_value().
Developed in https://github.com/WordPress/wordpress-develop/pull/10928 Follow-up to https://github.com/WordPress/gutenberg/commit/ccd529d7a6af Props soean, mukesh27, westonruter. Fixes #64636. Built from https://develop.svn.wordpress.org/trunk@61640 git-svn-id: http://core.svn.wordpress.org/trunk@60951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -2559,10 +2559,6 @@ class WP_Theme_JSON {
|
||||
}
|
||||
}
|
||||
|
||||
if ( is_array( $value ) ) {
|
||||
return $value;
|
||||
}
|
||||
|
||||
return $value;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '7.0-alpha-61639';
|
||||
$wp_version = '7.0-alpha-61640';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user