From c26c02700db041752d9614ada7e5a3a13dfc5bce Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Mon, 17 Oct 2022 12:18:21 +0000 Subject: [PATCH] Posts, Post types: Remove emails from post-by-email logs. Props paulkevan, xknown, martinkrcho, peterwilsoncc. Merges [54523] to the 6.0 branch. git-svn-id: https://develop.svn.wordpress.org/branches/6.0@54533 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-mail.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/wp-mail.php b/src/wp-mail.php index 794598d379..eab3e0cf9f 100644 --- a/src/wp-mail.php +++ b/src/wp-mail.php @@ -137,8 +137,6 @@ for ( $i = 1; $i <= $count; $i++ ) { } $author = sanitize_email( $author ); if ( is_email( $author ) ) { - /* translators: %s: Post author email address. */ - echo '

' . sprintf( __( 'Author is %s' ), $author ) . '

'; $userdata = get_user_by( 'email', $author ); if ( ! empty( $userdata ) ) { $post_author = $userdata->ID;