Skip to content

Commit 3ffcfbf

Browse files
committed
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
1 parent 98f0732 commit 3ffcfbf

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

src/wp-activate.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
if ( is_object( $wp_object_cache ) )
2222
$wp_object_cache->cache_enabled = false;
2323

24+
/**
25+
* Fires before the Site Activation page is loaded.
26+
*
27+
* @since 3.0
28+
*/
2429
do_action( 'activate_header' );
2530

2631
/**
@@ -29,7 +34,12 @@
2934
* @since MU
3035
*/
3136
function 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
}
3444
add_action( 'wp_head', 'do_activate_header' );
3545

0 commit comments

Comments
 (0)