mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-17 03:56:07 +00:00
Coding Standards: Fix WPCS issue in [51174].
See #53407. Built from https://develop.svn.wordpress.org/trunk@51175 git-svn-id: http://core.svn.wordpress.org/trunk@50784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9f1145b8ae
commit
29ba355256
@ -210,8 +210,8 @@ class WP_REST_Widget_Types_Controller extends WP_REST_Controller {
|
|||||||
$parsed_id = wp_parse_widget_id( $widget['id'] );
|
$parsed_id = wp_parse_widget_id( $widget['id'] );
|
||||||
$widget_object = $wp_widget_factory->get_widget_object( $parsed_id['id_base'] );
|
$widget_object = $wp_widget_factory->get_widget_object( $parsed_id['id_base'] );
|
||||||
|
|
||||||
$widget['id'] = $parsed_id['id_base'];
|
$widget['id'] = $parsed_id['id_base'];
|
||||||
$widget['is_multi'] = (bool) $widget_object;
|
$widget['is_multi'] = (bool) $widget_object;
|
||||||
|
|
||||||
if ( isset( $widget['name'] ) ) {
|
if ( isset( $widget['name'] ) ) {
|
||||||
$widget['name'] = html_entity_decode( $widget['name'] );
|
$widget['name'] = html_entity_decode( $widget['name'] );
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.8-beta2-51174';
|
$wp_version = '5.8-beta2-51175';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user