Changeset 54546 for branches/3.7/src/wp-mail.php
- Timestamp:
- 10/17/2022 05:39:41 PM (11 months ago)
- Location:
- branches/3.7
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7
- Property svn:mergeinfo changed
/trunk merged: 54521-54523,54525,54527,54529,54541
- Property svn:mergeinfo changed
-
branches/3.7/src
- Property svn:mergeinfo changed
/trunk/src merged: 54521-54523,54525,54527,54529,54541
- Property svn:mergeinfo changed
-
branches/3.7/src/wp-mail.php
r39784 r54546 56 56 wp_die( __('There doesn’t seem to be any new mail.') ); 57 57 } 58 59 // Always run as an unauthenticated user. 60 wp_set_current_user( 0 ); 58 61 59 62 for ( $i = 1; $i <= $count; $i++ ) { … … 120 123 $author = sanitize_email($author); 121 124 if ( is_email($author) ) { 122 echo '<p>' . sprintf(__('Author is %s'), $author) . '</p>';123 125 $userdata = get_user_by('email', $author); 124 126 if ( ! empty( $userdata ) ) {
Note: See TracChangeset
for help on using the changeset viewer.