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:
parent
fcc36d1adf
commit
ab5ea42aa2
|
@ -64,7 +64,7 @@ function wpmu_activate_stylesheet() {
|
|||
}
|
||||
add_action( 'wp_head', 'wpmu_activate_stylesheet' );
|
||||
|
||||
get_header();
|
||||
get_header( 'wp-activate' );
|
||||
?>
|
||||
|
||||
<div id="signup-content" class="widecolumn">
|
||||
|
@ -134,4 +134,4 @@ get_header();
|
|||
var key_input = document.getElementById('key');
|
||||
key_input && key_input.focus();
|
||||
</script>
|
||||
<?php get_footer();
|
||||
<?php get_footer( 'wp-activate' );
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @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.
|
||||
|
|
|
@ -66,7 +66,7 @@ function wpmu_signup_stylesheet() {
|
|||
}
|
||||
|
||||
add_action( 'wp_head', 'wpmu_signup_stylesheet' );
|
||||
get_header();
|
||||
get_header( 'wp-signup' );
|
||||
|
||||
/**
|
||||
* Fires before the site sign-up form.
|
||||
|
@ -759,4 +759,4 @@ if ( $active_signup == 'none' ) {
|
|||
*/
|
||||
do_action( 'after_signup_form' ); ?>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
<?php get_footer( 'wp-signup' );
|
||||
|
|
Loading…
Reference in New Issue