From 45a6b73042a3a1d41bd74b119bfb751dcdfddfc1 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Mon, 17 Oct 2022 11:06:10 +0000 Subject: [PATCH] Posts, Post types: Remove emails from post-by-email logs. Props paulkevan, xknown, martinkrcho, peterwilsoncc. Built from https://develop.svn.wordpress.org/trunk@54523 git-svn-id: http://core.svn.wordpress.org/trunk@54078 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- wp-mail.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index e7b8ca5f6f..37e0fba104 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-RC1-54522'; +$wp_version = '6.1-RC1-54523'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-mail.php b/wp-mail.php index 794598d379..eab3e0cf9f 100644 --- a/wp-mail.php +++ b/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;