From 4167f814bc8cb1831fb9f1611e941ddb25ef5aab Mon Sep 17 00:00:00 2001 From: audrasjb Date: Mon, 17 Oct 2022 12:20:09 +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. Built from https://develop.svn.wordpress.org/branches/6.0@54533 git-svn-id: http://core.svn.wordpress.org/branches/6.0@54088 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 d36e7b01bf..a695af0dec 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0.3-alpha-54532'; +$wp_version = '6.0.3-alpha-54533'; /** * 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;