MS: Introduce action `before_signup_header`.
This aligns `wp-signup.php` a bit more `with `wp-activate.php` and, among other things, allows a plugin to redirect signup requests. Props pbearne. Fixes #17630. Built from https://develop.svn.wordpress.org/trunk@35159 git-svn-id: http://core.svn.wordpress.org/trunk@35125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c4ff6317a7
commit
9dd1462fe3
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-35158';
|
$wp_version = '4.4-alpha-35159';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
|
|
@ -40,6 +40,13 @@ if ( !is_main_site() ) {
|
||||||
// Fix for page title
|
// Fix for page title
|
||||||
$wp_query->is_404 = false;
|
$wp_query->is_404 = false;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fires before the Site Signup page is loaded.
|
||||||
|
*
|
||||||
|
* @since 4.4.0
|
||||||
|
*/
|
||||||
|
do_action( 'before_signup_header' );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Prints styles for front-end Multisite signup pages
|
* Prints styles for front-end Multisite signup pages
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue