Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Docs for wp-activate.php. props lgedeon. fixes #20429.

git-svn-id: http://core.svn.wordpress.org/trunk@21454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
commit a69abc1f47abdb3fb7ceab8d0aaf1f72eb563390 1 parent f8ce3f7
nacin authored
Showing with 18 additions and 0 deletions.
  1. +18 −0 wp-activate.php
View
18 wp-activate.php
@@ -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. */
@@ -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">
Please sign in to comment.
Something went wrong with that request. Please try again.