Make WordPress Core

Changeset 54523


Ignore:
Timestamp:
10/17/2022 11:04:30 AM (18 months ago)
Author:
audrasjb
Message:

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

Props paulkevan, xknown, martinkrcho, peterwilsoncc.

File:
1 edited

Legend:

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

    r54521 r54523  
    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.