Skip to content

Commit

Permalink
Docs for wp-activate.php. props lgedeon. fixes #20429.
Browse files Browse the repository at this point in the history
git-svn-id: http://core.svn.wordpress.org/trunk@21454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
nacin committed Aug 6, 2012
1 parent f8ce3f7 commit a69abc1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions wp-activate.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
<?php
/**
* Confirms that the activation key that is sent in an email after a user signs
* up for a new blog matchs the key for that user and then displays confirmation.
*
* @package WordPress
*/

/** Define ABSPATH as this file's directory */
define( 'WP_INSTALLING', true );

/** Sets up the WordPress Environment. */
Expand All @@ -16,11 +24,21 @@

do_action( 'activate_header' );

/**
* Adds an action hook specific to this page that fires on wp_head
*
* @since MU
*/
function do_activate_header() {
do_action( 'activate_wp_head' );
}
add_action( 'wp_head', 'do_activate_header' );

/**
* Loads styles specific to this page.
*
* @since MU
*/
function wpmu_activate_stylesheet() {
?>
<style type="text/css">
Expand Down

0 comments on commit a69abc1

Please sign in to comment.