WordPress.org

Make WordPress Core

Changeset 34239


Ignore:
Timestamp:
09/16/2015 03:12:42 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Fix some syntactical issues with the DocBlock for wp_mail_failed action, introduced in [34221].

Fixes #18926.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pluggable.php

    r34221 r34239  
    537537
    538538        $mail_error_data = compact( $to, $subject, $message, $headers, $attachments );
     539
    539540        /**
    540          * Fires after a phpmailerException is caught
     541         * Fires after a phpmailerException is caught.
    541542         *
    542543         * @since 4.4.0
    543544         *
    544          * @param WP_Error A WP_Error object with the phpmailerException code, message and an array
    545          *                 containing the mail recipient, subject, message, headers and attachments
     545         * @param WP_Error $error A WP_Error object with the phpmailerException code, message, and an array
     546         *                        containing the mail recipient, subject, message, headers, and attachments.
    546547         */
    547548        do_action( 'wp_mail_failed', new WP_Error( $e->getCode(), $e->getMessage(), $mail_error_data ) );
Note: See TracChangeset for help on using the changeset viewer.