MS: Pass context to get_header() and get_footer() in activation/signup.

Fixes #21712.


git-svn-id: https://develop.svn.wordpress.org/trunk@34840 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jeremy Felt 2015-10-05 22:35:20 +00:00
parent f79a9d4ca2
commit 87232d4f61
2 changed files with 4 additions and 4 deletions

View File

@ -64,7 +64,7 @@ function wpmu_activate_stylesheet() {
} }
add_action( 'wp_head', 'wpmu_activate_stylesheet' ); add_action( 'wp_head', 'wpmu_activate_stylesheet' );
get_header(); get_header( 'wp-activate' );
?> ?>
<div id="signup-content" class="widecolumn"> <div id="signup-content" class="widecolumn">
@ -134,4 +134,4 @@ get_header();
var key_input = document.getElementById('key'); var key_input = document.getElementById('key');
key_input && key_input.focus(); key_input && key_input.focus();
</script> </script>
<?php get_footer(); <?php get_footer( 'wp-activate' );

View File

@ -66,7 +66,7 @@ function wpmu_signup_stylesheet() {
} }
add_action( 'wp_head', 'wpmu_signup_stylesheet' ); add_action( 'wp_head', 'wpmu_signup_stylesheet' );
get_header(); get_header( 'wp-signup' );
/** /**
* Fires before the site sign-up form. * Fires before the site sign-up form.
@ -759,4 +759,4 @@ if ( $active_signup == 'none' ) {
*/ */
do_action( 'after_signup_form' ); ?> do_action( 'after_signup_form' ); ?>
<?php get_footer(); ?> <?php get_footer( 'wp-signup' );