Skip to content

Commit

Permalink
Coding Standards: Fix WPCS issue in [51174].
Browse files Browse the repository at this point in the history
See #53407.

git-svn-id: https://develop.svn.wordpress.org/trunk@51175 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Jun 17, 2021
1 parent 855bbef commit ddd0952
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -210,8 +210,8 @@ protected function get_widgets() {
$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'] );
Expand Down

0 comments on commit ddd0952

Please sign in to comment.