From 21be4bc5f1e5af7c96c25d13315a9bf578b4aea7 Mon Sep 17 00:00:00 2001 From: Joe Dolson Date: Thu, 30 Jan 2025 04:06:16 +0000 Subject: [PATCH] Docs: Add missing `$text` filter argument. Fix omitted filter argument variable name for `the_password_form_incorrect_password`. Follow up to [59736]. Props mukesh27, joedolson. See #37332. git-svn-id: https://develop.svn.wordpress.org/trunk@59737 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/post-template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/post-template.php b/src/wp-includes/post-template.php index 23dbd2c1ee..598ea3d608 100644 --- a/src/wp-includes/post-template.php +++ b/src/wp-includes/post-template.php @@ -1789,8 +1789,8 @@ function get_the_password_form( $post = 0 ) { * * @since 6.8.0 * - * @param string The message shown to users when entering an invalid password. - * @param WP_Post $post Post object. + * @param string $text The message shown to users when entering an invalid password. + * @param WP_Post $post Post object. */ $invalid_password = apply_filters( 'the_password_form_incorrect_password', __( 'Invalid password.' ), $post ); $invalid_password_html = '';