From 3ffcfbf26b98e343fac8380f1bb84b0af97af209 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sat, 21 Sep 2013 05:20:42 +0000 Subject: [PATCH] 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 --- src/wp-activate.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/wp-activate.php b/src/wp-activate.php index 6a474b12fb..ae5c1b2eaf 100644 --- a/src/wp-activate.php +++ b/src/wp-activate.php @@ -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' );