Docs: Fix some syntactical issues with the DocBlock for `wp_mail_failed` action, introduced in [34221].
Fixes #18926. Built from https://develop.svn.wordpress.org/trunk@34239 git-svn-id: http://core.svn.wordpress.org/trunk@34203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d06f5817f8
commit
15b69a0862
|
@ -536,13 +536,14 @@ function wp_mail( $to, $subject, $message, $headers = '', $attachments = array()
|
|||
} catch ( phpmailerException $e ) {
|
||||
|
||||
$mail_error_data = compact( $to, $subject, $message, $headers, $attachments );
|
||||
|
||||
/**
|
||||
* Fires after a phpmailerException is caught
|
||||
* Fires after a phpmailerException is caught.
|
||||
*
|
||||
* @since 4.4.0
|
||||
*
|
||||
* @param WP_Error A WP_Error object with the phpmailerException code, message and an array
|
||||
* containing the mail recipient, subject, message, headers and attachments
|
||||
* @param WP_Error $error A WP_Error object with the phpmailerException code, message, and an array
|
||||
* containing the mail recipient, subject, message, headers, and attachments.
|
||||
*/
|
||||
do_action( 'wp_mail_failed', new WP_Error( $e->getCode(), $e->getMessage(), $mail_error_data ) );
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-34238';
|
||||
$wp_version = '4.4-alpha-34239';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue