mirror of
git://develop.git.wordpress.org/
synced 2025-03-22 21:09:51 +01:00
Coding Standards: Fix WPCS issue in [51174].
See #53407. git-svn-id: https://develop.svn.wordpress.org/trunk@51175 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
855bbef616
commit
ddd0952ec1
@ -210,8 +210,8 @@ class WP_REST_Widget_Types_Controller extends WP_REST_Controller {
|
||||
$parsed_id = wp_parse_widget_id( $widget['id'] );
|
||||
$widget_object = $wp_widget_factory->get_widget_object( $parsed_id['id_base'] );
|
||||
|
||||
$widget['id'] = $parsed_id['id_base'];
|
||||
$widget['is_multi'] = (bool) $widget_object;
|
||||
$widget['id'] = $parsed_id['id_base'];
|
||||
$widget['is_multi'] = (bool) $widget_object;
|
||||
|
||||
if ( isset( $widget['name'] ) ) {
|
||||
$widget['name'] = html_entity_decode( $widget['name'] );
|
||||
|
Loading…
x
Reference in New Issue
Block a user