Ticket #46898: 46898.5.diff
File 46898.5.diff, 1.6 KB (added by , 5 years ago) |
---|
-
src/wp-includes/class-wp-recovery-mode-email-service.php
125 125 $message = __( 126 126 'Howdy, 127 127 128 Your site recently crashed on ###LOCATION###and may not be working as expected.128 Your site recently crashed and may not be working as expected. 129 129 ###CAUSE### 130 Click the link below to initiate recovery mode and fix the problem.130 Please click the link below to initiate recovery mode and fix the problem. 131 131 132 132 This link expires in ###EXPIRES###. 133 133 134 134 ###LINK### ###DETAILS### 135 136 --The WordPress Team 137 https://wordpress.org/ 135 138 ' 136 139 ); 137 140 $message = str_replace( 138 141 array( 139 142 '###LINK###', 140 '###LOCATION###',141 143 '###EXPIRES###', 142 144 '###CAUSE###', 143 145 '###DETAILS###', 144 146 ), 145 147 array( 146 148 $url, 147 'TBD',148 149 human_time_diff( time() + $rate_limit ), 149 150 $cause ? "\n{$cause}\n" : "\n", 150 151 $details, … … 235 236 } 236 237 237 238 /* translators: %s: plugin name */ 238 $cause = sprintf( __( 'This was caused by the %s plugin.' ), $name );239 $cause = sprintf( __( 'This was caused by the following plugin: %s.' ), $name ); 239 240 } else { 240 241 $theme = wp_get_theme( $extension['slug'] ); 241 242 $name = $theme->exists() ? $theme->display( 'Name' ) : $extension['slug']; 242 243 243 244 /* translators: %s: theme name */ 244 $cause = sprintf( __( 'This was caused by the %s theme.' ), $name );245 $cause = sprintf( __( 'This was caused by the following theme: %s.' ), $name ); 245 246 } 246 247 247 248 return $cause;