Ticket #22187: 22187-signup-styles.diff
File 22187-signup-styles.diff, 1.3 KB (added by , 12 years ago) |
---|
-
wp-signup.php
30 30 // Fix for page title 31 31 $wp_query->is_404 = false; 32 32 33 /** 34 * Prints styles for front-end Multisite signup pages. 35 * 36 * The default styles are printed via signup_header which is hooked to wp_head. 37 * They can be overloaded by replacing the output on the signup_header action hook. 38 * 39 * @since 3.0.0 40 */ 33 41 function wpmu_signup_stylesheet() { 34 42 ?> 35 43 <style type="text/css"> … … 50 58 <?php 51 59 } 52 60 53 add_action( 'wp_head', 'wpmu_signup_stylesheet' );54 61 get_header(); 55 62 56 63 do_action( 'before_signup_form' ); -
wp-includes/default-filters.php
213 213 add_action( 'wp_print_footer_scripts', '_wp_footer_scripts' ); 214 214 add_action( 'init', 'check_theme_switched', 99 ); 215 215 add_action( 'after_switch_theme', '_wp_sidebars_changed' ); 216 add_action( 'signup_header', 'wpmu_signup_stylesheet' ); 216 217 217 218 if ( isset( $_GET['replytocom'] ) ) 218 219 add_action( 'wp_head', 'wp_no_robots' );