Make WordPress Core

Changeset 54533 for branches/6.0


Ignore:
Timestamp:
10/17/2022 12:18:21 PM (14 months ago)
Author:
audrasjb
Message:

Posts, Post types: Remove emails from post-by-email logs.

Props paulkevan, xknown, martinkrcho, peterwilsoncc.
Merges [54523] to the 6.0 branch.

Location:
branches/6.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.0

  • branches/6.0/src/wp-mail.php

    r54531 r54533  
    138138                $author = sanitize_email( $author );
    139139                if ( is_email( $author ) ) {
    140                     /* translators: %s: Post author email address. */
    141                     echo '<p>' . sprintf( __( 'Author is %s' ), $author ) . '</p>';
    142140                    $userdata = get_user_by( 'email', $author );
    143141                    if ( ! empty( $userdata ) ) {
Note: See TracChangeset for help on using the changeset viewer.