From bd502b5d96b075598ac39e2f66d9aa7c1cd4f025 Mon Sep 17 00:00:00 2001 From: joedolson Date: Thu, 30 Jan 2025 04:08:22 +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. Built from https://develop.svn.wordpress.org/trunk@59737 git-svn-id: http://core.svn.wordpress.org/trunk@59079 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post-template.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index 23dbd2c1ee..598ea3d608 100644 --- a/wp-includes/post-template.php +++ b/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 = ''; diff --git a/wp-includes/version.php b/wp-includes/version.php index 08853dbcc0..81e7613296 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59736'; +$wp_version = '6.8-alpha-59737'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.