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

Fixes #21712.

Built from https://develop.svn.wordpress.org/trunk@34840


git-svn-id: http://core.svn.wordpress.org/trunk@34805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Jeremy Felt 2015-10-05 22:36:24 +00:00
parent fcc36d1adf
commit ab5ea42aa2
3 changed files with 5 additions and 5 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

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.4-alpha-34839'; $wp_version = '4.4-alpha-34840';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

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' );