From 506c46593b6aa742e8d8758152aab7846749d913 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Wed, 9 Sep 2020 15:46:30 +0000 Subject: [PATCH] Docs: Improve the `recovery_mode_email` inline docs. See #51267, #50768. git-svn-id: https://develop.svn.wordpress.org/trunk@48962 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-recovery-mode-email-service.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/class-wp-recovery-mode-email-service.php b/src/wp-includes/class-wp-recovery-mode-email-service.php index 0f9d2f3195..2df52b7f12 100644 --- a/src/wp-includes/class-wp-recovery-mode-email-service.php +++ b/src/wp-includes/class-wp-recovery-mode-email-service.php @@ -206,7 +206,14 @@ When seeking help with this issue, you may be asked for some of the following in * * @since 5.2.0 * - * @param array $email Used to build wp_mail(). + * @param array $email { + * Used to build a call to wp_mail(). + * + * @type string|array $to Array or comma-separated list of email addresses to send message. + * @type string $subject Email subject + * @type string $message Message contents + * @type string|array $headers Optional. Additional headers. + * } * @param string $url URL to enter recovery mode. */ $email = apply_filters( 'recovery_mode_email', $email, $url );