Changeset 41327 for trunk/src/wp-includes/widgets.php
- Timestamp:
- 09/01/2017 08:49:50 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets.php
r40926 r41327 1037 1037 global $wp_widget_factory; 1038 1038 1039 if ( ! isset( $wp_widget_factory->widgets[ $widget ] ) ) { 1040 _doing_it_wrong( __FUNCTION__, __( 'Widgets need to be registered before they can be displayed.' ), '4.9.0' ); 1041 return; 1042 } 1043 1039 1044 $widget_obj = $wp_widget_factory->widgets[$widget]; 1040 1045 if ( ! ( $widget_obj instanceof WP_Widget ) ) {
Note: See TracChangeset
for help on using the changeset viewer.