WordPress.org

Make WordPress Core

Ticket #4181: wp_init.diff

File wp_init.diff, 648 bytes (added by ryan, 11 years ago)
  • wp-settings.php

     
    263263// Everything is loaded and initialized.
    264264do_action('init');
    265265
     266$wp->init();
     267
    266268?>
  • wp-admin/admin.php

     
    1919
    2020update_category_cache();
    2121
    22 wp_get_current_user();
    23 
    2422$posts_per_page = get_option('posts_per_page');
    2523$what_to_show = get_option('what_to_show');
    2624$date_format = get_option('date_format');