Skip to content

Commit 5fcdee1

Browse files
committed
Posts, Post types: Remove emails from post-by-email logs.
Props paulkevan, xknown, martinkrcho, peterwilsoncc. git-svn-id: https://develop.svn.wordpress.org/trunk@54523 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 506eee1 commit 5fcdee1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/wp-mail.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,6 @@
137137
}
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 ) ) {
144142
$post_author = $userdata->ID;

0 commit comments

Comments
 (0)