Make WordPress Core


Ignore:
Timestamp:
05/02/2018 06:50:49 PM (7 years ago)
Author:
azaozz
Message:

Privacy: fix inconsistencies in new strings.

Props audrasjb.
Merges [43118] to the 4.9 branch.
Fixes #43925.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-includes/user.php

    r43117 r43119  
    29102910
    29112911    if ( ! is_email( $email_address ) ) {
    2912         return new WP_Error( 'invalid_email', __( 'Invalid email address' ) );
     2912        return new WP_Error( 'invalid_email', __( 'Invalid email address.' ) );
    29132913    }
    29142914
    29152915    if ( ! $action_name ) {
    2916         return new WP_Error( 'invalid_action', __( 'Invalid action name' ) );
     2916        return new WP_Error( 'invalid_action', __( 'Invalid action name.' ) );
    29172917    }
    29182918
Note: See TracChangeset for help on using the changeset viewer.