Make WordPress Core

Changeset 25537


Ignore:
Timestamp:
09/21/2013 05:20:42 AM (11 years ago)
Author:
DrewAPicture
Message:

Inline documentation for hooks in wp-activate.php.

Props nullvariable for the initial patch.
See #25229.

File:
1 edited

Legend:

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

    r25001 r25537  
    2222    $wp_object_cache->cache_enabled = false;
    2323
     24/**
     25 * Fires before the Site Activation page is loaded.
     26 *
     27 * @since 3.0
     28 */
    2429do_action( 'activate_header' );
    2530
     
    3035 */
    3136function do_activate_header() {
    32     do_action( 'activate_wp_head' );
     37    /**
     38     * Fires before the Site Activation page is loaded, but on the wp_head action.
     39     *
     40     * @since 3.0
     41     */
     42    do_action( 'activate_wp_head' );
    3343}
    3444add_action( 'wp_head', 'do_activate_header' );
Note: See TracChangeset for help on using the changeset viewer.