Make WordPress Core

Changeset 25721


Ignore:
Timestamp:
10/07/2013 07:33:16 PM (11 years ago)
Author:
DrewAPicture
Message:

Inline documentation for hooks in wp-settings.php.

Props miyauchi.
Fixes #25469

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-settings.php

    r25139 r25721  
    172172}
    173173
     174/**
     175 * Fires once all must-use and network-activated plugins have loaded.
     176 *
     177 * @since 2.8.0
     178 */
    174179do_action( 'muplugins_loaded' );
    175180
     
    210215    wp_cache_postload();
    211216
     217/**
     218 * Fires once activated plugins have loaded.
     219 *
     220 * Pluggable functions are also available at this point in the loading order.
     221 *
     222 * @since 1.5.2
     223 */
    212224do_action( 'plugins_loaded' );
    213225
     
    218230wp_magic_quotes();
    219231
     232/**
     233 * Fires when comment cookies are sanitized.
     234 *
     235 * @since 2.0.11
     236 */
    220237do_action( 'sanitize_comment_cookies' );
    221238
     
    263280$GLOBALS['wp_roles'] = new WP_Roles();
    264281
     282/**
     283 * Fires before the theme is loaded.
     284 *
     285 * @since 2.6.0
     286 */
    265287do_action( 'setup_theme' );
    266288
     
    295317}
    296318
     319/**
     320 * Fires after the theme is loaded.
     321 *
     322 * @since 3.0.0
     323 */
    297324do_action( 'after_setup_theme' );
    298325
     
    301328
    302329/**
     330 * Fires after WordPress has finished loading but before any headers are sent.
     331 *
    303332 * Most of WP is loaded at this stage, and the user is authenticated. WP continues
    304333 * to load on the init hook that follows (e.g. widgets), and many plugins instantiate
     
    306335 *
    307336 * If you wish to plug an action once WP is loaded, use the wp_loaded hook below.
     337 *
     338 * @since 1.5.2
    308339 */
    309340do_action( 'init' );
     
    328359 * @since 3.0.0
    329360 */
    330 do_action('wp_loaded');
     361do_action( 'wp_loaded' );
Note: See TracChangeset for help on using the changeset viewer.