WordPress.org

Make WordPress Core

Ticket #30227: 30227.1.diff

File 30227.1.diff, 1006 bytes (added by valendesigns, 5 years ago)
  • src/wp-includes/ms-functions.php

    diff --git src/wp-includes/ms-functions.php src/wp-includes/ms-functions.php
    index 5537fb3..ff4f5f7 100644
    function wpmu_validate_user_signup($user_name, $user_email) { 
    531531                if ( $diff > 2 * DAY_IN_SECONDS )
    532532                        $wpdb->delete( $wpdb->signups, array( 'user_email' => $user_email ) );
    533533                else
    534                         $errors->add('user_email', __('That email address has already been used. Please check your inbox for an activation email. It will become available in a couple of days if you do nothing.'));
     534                        $errors->add('user_email', __('That email address is pending activation and not available for new registration. If you made a previous attempt with this email address, please check your inbox for an activation email. If left unconfirmed, it will become available in a couple of days.'));
    535535        }
    536536
    537537        $result = array('user_name' => $user_name, 'orig_username' => $orig_username, 'user_email' => $user_email, 'errors' => $errors);