Changeset 10795 for trunk/wp-includes/functions.php
- Timestamp:
- 03/16/2009 10:02:40 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r10757 r10795 2615 2615 */ 2616 2616 function wp_maybe_load_widgets() { 2617 if ( ! function_exists( 'dynamic_sidebar' ) ) {2618 re quire_once( ABSPATH . WPINC . '/widgets.php' );2619 add_action( '_admin_menu', 'wp_widgets_add_menu' );2620 }2617 if ( ! apply_filters('load_default_widgets', true) ) 2618 return; 2619 require_once( ABSPATH . WPINC . '/default-widgets.php' ); 2620 add_action( '_admin_menu', 'wp_widgets_add_menu' ); 2621 2621 } 2622 2622
Note: See TracChangeset
for help on using the changeset viewer.