[wp-trac] [WordPress Trac] #53091: [Twenty Twenty-One] Incorrect use of `the_password_form` filter argument
WordPress Trac
noreply at wordpress.org
Mon Apr 26 14:47:58 UTC 2021
#53091: [Twenty Twenty-One] Incorrect use of `the_password_form` filter argument
--------------------------+-----------------------------
Reporter: burhandodhy | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
`the_password_form` filter function has only one parameter `$output` that
is hthml output of from. Where Twenty Twenty-One theme tries to use it as
`$post` object.
https://github.com/WordPress/wordpress-develop/blob/master/src/wp-
content/themes/twentytwentyone/inc/template-functions.php#L395
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53091>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list