Ticket #25229: wp-activate.diff
File wp-activate.diff, 1.0 KB (added by , 11 years ago) |
---|
-
wp-activate.php
21 21 if ( is_object( $wp_object_cache ) ) 22 22 $wp_object_cache->cache_enabled = false; 23 23 24 /** 25 * Called when wp-activate is opened. 26 * 27 * Allows for things to be done in the header of wp-activate.php. 28 * 29 * @since 3.0 30 */ 24 31 do_action( 'activate_header' ); 25 32 26 33 /** 27 * Adds an action hook specific to this page that fires on wp_head 34 * Adds an action hook specific to this page that fires on wp_head. 28 35 * 29 * @since MU36 * @since 3.0 30 37 */ 31 38 function do_activate_header() { 32 do_action( 'activate_wp_head' ); 39 /** 40 * Called with wp_head. 41 * 42 * Allows tapping into the header of wp-activate.php at the wp_head hook. 43 * 44 * @since 3.0 45 */ 46 do_action( 'activate_wp_head' ); 33 47 } 34 48 add_action( 'wp_head', 'do_activate_header' ); 35 49 36 50 /** 37 51 * Loads styles specific to this page. 38 52 * 39 * @since MU53 * @since 3.0 40 54 */ 41 55 function wpmu_activate_stylesheet() { 42 56 ?>