Changeset 48519
- Timestamp:
- 07/20/2020 09:23:26 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-automatic-updater.php
r48517 r48519 1046 1046 1047 1047 foreach ( $failed_updates['plugin'] as $item ) { 1048 $body[] = "- {$item->name} version {$item->item->new_version}"; 1048 $body[] = sprintf( 1049 /* translators: 1: Plugin name, 2: Version number. */ 1050 __( '- %1$s version %2$s' ), 1051 $item->name, 1052 $item->item->new_version 1053 ); 1049 1054 1050 1055 $past_failure_emails[ $item->item->plugin ] = $item->item->new_version; … … 1059 1064 1060 1065 foreach ( $failed_updates['theme'] as $item ) { 1061 $body[] = "- {$item->name} version {$item->item->new_version}"; 1066 $body[] = sprintf( 1067 /* translators: 1: Theme name, 2: Version number. */ 1068 __( '- %1$s version %2$s' ), 1069 $item->name, 1070 $item->item->new_version 1071 ); 1062 1072 1063 1073 $past_failure_emails[ $item->item->theme ] = $item->item->new_version; … … 1077 1087 1078 1088 foreach ( $successful_updates['plugin'] as $item ) { 1079 $body[] = "- {$item->name} version {$item->item->new_version}"; 1089 $body[] = sprintf( 1090 /* translators: 1: Plugin name, 2: Version number. */ 1091 __( '- %1$s version %2$s' ), 1092 $item->name, 1093 $item->item->new_version 1094 ); 1080 1095 1081 1096 unset( $past_failure_emails[ $item->item->plugin ] ); … … 1090 1105 1091 1106 foreach ( $successful_updates['theme'] as $item ) { 1092 $body[] = "- {$item->name} version {$item->item->new_version}"; 1107 $body[] = sprintf( 1108 /* translators: 1: Theme name, 2: Version number. */ 1109 __( '- %1$s version %2$s' ), 1110 $item->name, 1111 $item->item->new_version 1112 ); 1093 1113 1094 1114 unset( $past_failure_emails[ $item->item->theme ] );
Note: See TracChangeset
for help on using the changeset viewer.