Make WordPress Core

Changeset 59737


Ignore:
Timestamp:
01/30/2025 04:06:16 AM (4 months ago)
Author:
joedolson
Message:

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.

File:
1 edited

Legend:

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

    r59736 r59737  
    17901790         * @since 6.8.0
    17911791         *
    1792          * @param string The message shown to users when entering an invalid password.
    1793          * @param WP_Post $post   Post object.
     1792         * @param string  $text The message shown to users when entering an invalid password.
     1793         * @param WP_Post $post Post object.
    17941794         */
    17951795        $invalid_password      = apply_filters( 'the_password_form_incorrect_password', __( 'Invalid password.' ), $post );
Note: See TracChangeset for help on using the changeset viewer.