Ticket #43536: 43536.1.diff
File 43536.1.diff, 1.2 KB (added by , 2 years ago) |
---|
-
src/wp-activate.php
117 117 add_action( 'wp_head', 'wp_strict_cross_origin_referrer' ); 118 118 add_filter( 'wp_robots', 'wp_robots_sensitive_page' ); 119 119 120 /** 121 * Adds a class to the body element. 122 * 123 * @since 6.1.0 124 */ 125 function wpmu_activate_body_class( $classes ) { 126 $classes[] = 'wp-activate'; 127 return $classes; 128 } 129 add_action( 'body_class', 'wpmu_activate_body_class' ); 130 120 131 get_header( 'wp-activate' ); 121 132 122 133 $blog_details = get_blog_details(); -
src/wp-signup.php
74 74 </style> 75 75 <?php 76 76 } 77 add_action( 'wp_head', 'wpmu_signup_stylesheet' ); 77 78 78 add_action( 'wp_head', 'wpmu_signup_stylesheet' ); 79 /** 80 * Adds a class to the body element. 81 * 82 * @since 6.1.0 83 */ 84 function wpmu_signup_body_class( $classes ) { 85 $classes[] = 'wp-signup'; 86 return $classes; 87 } 88 add_action( 'body_class', 'wpmu_signup_body_class' ); 89 79 90 get_header( 'wp-signup' ); 80 91 81 92 /**