Make WordPress Core

Ticket #25229: wp-activate.diff

File wp-activate.diff, 1.0 KB (added by nullvariable, 11 years ago)

wp-activate.php inline hook documentation, and minor corrections on version for other documentation.

  • wp-activate.php

     
    2121if ( is_object( $wp_object_cache ) )
    2222        $wp_object_cache->cache_enabled = false;
    2323
     24/**
     25 * Called when wp-activate is opened.
     26 *
     27 * Allows for things to be done in the header of wp-activate.php.
     28 *
     29 * @since 3.0
     30 */
    2431do_action( 'activate_header' );
    2532
    2633/**
    27  * Adds an action hook specific to this page that fires on wp_head
     34 * Adds an action hook specific to this page that fires on wp_head.
    2835 *
    29  * @since MU
     36 * @since 3.0
    3037 */
    3138function do_activate_header() {
    32         do_action( 'activate_wp_head' );
     39    /**
     40     * Called with wp_head.
     41     *
     42     * Allows tapping into the header of wp-activate.php at the wp_head hook.
     43     *
     44     * @since 3.0
     45     */
     46    do_action( 'activate_wp_head' );
    3347}
    3448add_action( 'wp_head', 'do_activate_header' );
    3549
    3650/**
    3751 * Loads styles specific to this page.
    3852 *
    39  * @since MU
     53 * @since 3.0
    4054 */
    4155function wpmu_activate_stylesheet() {
    4256        ?>