Changeset 45926 for trunk/src/wp-admin/includes/misc.php
- Timestamp:
- 09/01/2019 05:12:43 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/misc.php
r45735 r45926 1014 1014 $user = get_userdata( $user_id ); 1015 1015 if ( $user && current_user_can( 'edit_post', $post_id ) ) { 1016 $send = array( 'text' => sprintf( __( '%s is currently editing' ), $user->display_name ) ); 1016 $send = array( 1017 /* translators: %s: user's display name */ 1018 'text' => sprintf( __( '%s is currently editing' ), $user->display_name ), 1019 ); 1017 1020 1018 1021 $avatar = get_avatar( $user->ID, 18 ); … … 1062 1065 if ( $user ) { 1063 1066 $error = array( 1067 /* translators: %s: user's display name */ 1064 1068 'text' => sprintf( __( '%s has taken over and is currently editing.' ), $user->display_name ), 1065 1069 ); … … 1187 1191 /* translators: draft saved date format, see https://secure.php.net/date */ 1188 1192 $draft_saved_date_format = __( 'g:i:s a' ); 1189 /* translators: %s: date and time */1190 1193 $response['wp_autosave'] = array( 1191 1194 'success' => true, 1195 /* translators: %s: date and time */ 1192 1196 'message' => sprintf( __( 'Draft saved at %s.' ), date_i18n( $draft_saved_date_format ) ), 1193 1197 ); … … 1342 1346 $content = str_replace( '###SITEURL###', home_url(), $content ); 1343 1347 1344 /* translators: New admin email address notification email subject. %s: Site title */ 1345 wp_mail( $value, sprintf( __( '[%s] New Admin Email Address' ), wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ) ), $content ); 1348 wp_mail( 1349 $value, 1350 sprintf( 1351 /* translators: New admin email address notification email subject. %s: Site title */ 1352 __( '[%s] New Admin Email Address' ), 1353 wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ) 1354 ), 1355 $content 1356 ); 1346 1357 1347 1358 if ( $switched_locale ) {
Note: See TracChangeset
for help on using the changeset viewer.