Skip to content

Commit

Permalink
Inline documentation for hooks in wp-activate.php.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
DrewAPicture committed Sep 21, 2013
1 parent 79df17b commit 65bcc3f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion wp-activate.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
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' );

/**
Expand All @@ -29,7 +34,12 @@
* @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' );

Expand Down

0 comments on commit 65bcc3f

Please sign in to comment.