mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 11:35:48 +00:00
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:
parent
79df17be9c
commit
65bcc3f004
@ -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' );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user