Ticket #51276: 51276.diff
File 51276.diff, 1.8 KB (added by , 4 years ago) |
---|
-
src/wp-includes/class-wp-recovery-mode-email-service.php
194 194 ); 195 195 196 196 $email = array( 197 'to' => $this->get_recovery_mode_email_address(),197 'to' => $this->get_recovery_mode_email_address(), 198 198 /* translators: %s: Site title. */ 199 'subject' => __( '[%s] Your Site is Experiencing a Technical Issue' ), 200 'message' => $message, 201 'headers' => '', 199 'subject' => __( '[%s] Your Site is Experiencing a Technical Issue' ), 200 'message' => $message, 201 'headers' => '', 202 'attachments' => '', 202 203 ); 203 204 204 205 /** … … 209 210 * @param array $email { 210 211 * Used to build a call to wp_mail(). 211 212 * 212 * @type string|array $to Array or comma-separated list of email addresses to send message. 213 * @type string $subject Email subject 214 * @type string $message Message contents 215 * @type string|array $headers Optional. Additional headers. 213 * @type string|array $to Array or comma-separated list of email addresses to send message. 214 * @type string $subject Email subject 215 * @type string $message Message contents 216 * @type string|array $headers Optional. Additional headers. 217 * @type string|array $attachments Optional. Files to attach. 216 218 * } 217 219 * @param string $url URL to enter recovery mode. 218 220 */ … … 222 224 $email['to'], 223 225 wp_specialchars_decode( sprintf( $email['subject'], $blogname ) ), 224 226 $email['message'], 225 $email['headers'] 227 $email['headers'], 228 $email['attachments'] 226 229 ); 227 230 228 231 if ( $switched_locale ) {