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
This commit is contained in:
joedolson 2025-01-30 04:08:22 +00:00
parent 6def2dc42c
commit bd502b5d96
2 changed files with 3 additions and 3 deletions

View File

@ -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 = '<div class="post-password-form-invalid-password" role="alert"><p id="error-' . $field_id . '">' . $invalid_password . '</p></div>';

View File

@ -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.