Make WordPress Core

Changeset 4589 for trunk/wp-login.php


Ignore:
Timestamp:
12/03/2006 09:16:19 PM (18 years ago)
Author:
matt
Message:

Some new hooks on registration, fixes #2541

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r4582 r4589  
    211211
    212212        $user_login = sanitize_user( $_POST['user_login'] );
    213         $user_email = $_POST['user_email'];
     213        $user_email = apply_filters( 'user_registration_email', $_POST['user_email'] );
    214214
    215215        // Check the username
     
    232232
    233233        do_action('register_post');
     234
     235        $errors = apply_filters( 'registration_errors', $errors );
    234236
    235237        if ( empty( $errors ) ) {
Note: See TracChangeset for help on using the changeset viewer.