Changeset 31188 for trunk/src/wp-includes/widgets.php
- Timestamp:
- 01/16/2015 01:05:52 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets.php
r31077 r31188 1553 1553 1554 1554 $widget_obj = $wp_widget_factory->widgets[$widget]; 1555 if ( ! is_a($widget_obj, 'WP_Widget') )1555 if ( ! ( $widget_obj instanceof WP_Widget ) ) { 1556 1556 return; 1557 } 1557 1558 1558 1559 $before_widget = sprintf('<div class="widget %s">', $widget_obj->widget_options['classname'] );
Note: See TracChangeset
for help on using the changeset viewer.