[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 15:27:42 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: 5.7.2
Component: Bundled Theme | Version: 5.6
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses:
-------------------------------------+---------------------
Comment (by SergeyBiryukov):
Just noting that there should be an empty line between `@global` and
`@return`, looks good to me otherwise.
On a related note, it might be a good idea to pass the `$post` argument to
`the_password_form` filter. Looks like it was previously suggested in
#29008, but never implemented. Reopening that ticket.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53091#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list