Inline documentation for hooks in wp-activate.php.

Props nullvariable for the initial patch.
See #25229.

Built from https://develop.svn.wordpress.org/trunk@25537


git-svn-id: http://core.svn.wordpress.org/trunk@25457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2013-09-21 05:21:09 +00:00
parent 79df17be9c
commit 65bcc3f004

View File

@ -21,6 +21,11 @@ if ( !is_multisite() ) {
if ( is_object( $wp_object_cache ) )
$wp_object_cache->cache_enabled = false;
/**
* Fires before the Site Activation page is loaded.
*
* @since 3.0
*/
do_action( 'activate_header' );
/**
@ -29,7 +34,12 @@ do_action( 'activate_header' );
* @since MU
*/
function do_activate_header() {
do_action( 'activate_wp_head' );
/**
* Fires before the Site Activation page is loaded, but on the wp_head action.
*
* @since 3.0
*/
do_action( 'activate_wp_head' );
}
add_action( 'wp_head', 'do_activate_header' );