From 9dd1462fe3ed91b6bd52c235816fcb595ccc42d8 Mon Sep 17 00:00:00 2001 From: Jeremy Felt Date: Wed, 14 Oct 2015 17:32:49 +0000 Subject: [PATCH] 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 --- wp-includes/version.php | 2 +- wp-signup.php | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index c687ab25ed..ee5d58f3a6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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. diff --git a/wp-signup.php b/wp-signup.php index 314421713e..824ba1a7f9 100644 --- a/wp-signup.php +++ b/wp-signup.php @@ -40,6 +40,13 @@ if ( !is_main_site() ) { // Fix for page title $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 *