Ticket #41743: 41743.patch
| File 41743.patch, 650 bytes (added by , 9 years ago) |
|---|
-
wp-includes/widgets.php
1037 1037 global $wp_widget_factory; 1038 1038 1039 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' ); 1040 /* translators: %s: register_widget() */ 1041 _doing_it_wrong( __FUNCTION__, sprintf( __( 'Widgets need to be registered using %s, before they can be displayed.' ), '<code>register_widget()</code>' ), '4.9.0' ); 1041 1042 return; 1042 1043 } 1043 1044