Make WordPress Core

Changeset 35159


Ignore:
Timestamp:
10/14/2015 05:31:54 PM (10 years ago)
Author:
jeremyfelt
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-signup.php

    r35152 r35159  
    4040// Fix for page title
    4141$wp_query->is_404 = false;
     42
     43/**
     44 * Fires before the Site Signup page is loaded.
     45 *
     46 * @since 4.4.0
     47 */
     48do_action( 'before_signup_header' );
    4249
    4350/**
Note: See TracChangeset for help on using the changeset viewer.