Inline documentation for hooks in wp-activate.php.
Props nullvariable for the initial patch. See #25229. git-svn-id: https://develop.svn.wordpress.org/trunk@25537 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
98f073272d
commit
3ffcfbf26b
|
@ -21,6 +21,11 @@ if ( !is_multisite() ) {
|
||||||
if ( is_object( $wp_object_cache ) )
|
if ( is_object( $wp_object_cache ) )
|
||||||
$wp_object_cache->cache_enabled = false;
|
$wp_object_cache->cache_enabled = false;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fires before the Site Activation page is loaded.
|
||||||
|
*
|
||||||
|
* @since 3.0
|
||||||
|
*/
|
||||||
do_action( 'activate_header' );
|
do_action( 'activate_header' );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -29,6 +34,11 @@ do_action( 'activate_header' );
|
||||||
* @since MU
|
* @since MU
|
||||||
*/
|
*/
|
||||||
function do_activate_header() {
|
function do_activate_header() {
|
||||||
|
/**
|
||||||
|
* Fires before the Site Activation page is loaded, but on the wp_head action.
|
||||||
|
*
|
||||||
|
* @since 3.0
|
||||||
|
*/
|
||||||
do_action( 'activate_wp_head' );
|
do_action( 'activate_wp_head' );
|
||||||
}
|
}
|
||||||
add_action( 'wp_head', 'do_activate_header' );
|
add_action( 'wp_head', 'do_activate_header' );
|
||||||
|
|
Loading…
Reference in New Issue