Changeset 54545 for branches/5.9/src/wp-mail.php
- Timestamp:
- 10/17/2022 05:39:34 PM (3 years ago)
- Location:
- branches/5.9
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-mail.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.9
- Property svn:mergeinfo changed
/trunk merged: 54397,54521-54530,54541
- Property svn:mergeinfo changed
-
branches/5.9/src/wp-mail.php
r51850 r54545 65 65 wp_die( __( 'There doesn’t seem to be any new mail.' ) ); 66 66 } 67 68 // Always run as an unauthenticated user. 69 wp_set_current_user( 0 ); 67 70 68 71 for ( $i = 1; $i <= $count; $i++ ) { … … 135 138 $author = sanitize_email( $author ); 136 139 if ( is_email( $author ) ) { 137 /* translators: %s: Post author email address. */138 echo '<p>' . sprintf( __( 'Author is %s' ), $author ) . '</p>';139 140 $userdata = get_user_by( 'email', $author ); 140 141 if ( ! empty( $userdata ) ) {
Note: See TracChangeset
for help on using the changeset viewer.