Ticket #50508: 50508.diff
| File 50508.diff, 546 bytes (added by , 6 years ago) |
|---|
-
src/wp-includes/class-wp-customize-widgets.php
diff --git src/wp-includes/class-wp-customize-widgets.php src/wp-includes/class-wp-customize-widgets.php index 0aa75168a4..9779f9d65b 100644
final class WP_Customize_Widgets { 1217 1217 * @return bool Whether the widget is rendered. 1218 1218 */ 1219 1219 public function is_widget_rendered( $widget_id ) { 1220 return in_array( $widget_id, $this->rendered_widgets, true);1220 return ! empty( $this->rendered_widgets[ $widget_id ] ); 1221 1221 } 1222 1222 1223 1223 /**
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)