[wp-trac] [WordPress Trac] #37332: Enhancement: Add a wrong password message on password protected posts
WordPress Trac
noreply at wordpress.org
Thu Jan 30 00:02:11 UTC 2025
#37332: Enhancement: Add a wrong password message on password protected posts
----------------------------------------+----------------------------
Reporter: henry.wright | Owner: joedolson
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.8
Component: Posts, Post Types | Version: 4.5.3
Severity: normal | Resolution:
Keywords: has-patch has-testing-info | Focuses: accessibility
----------------------------------------+----------------------------
Comment (by audrasjb):
@joedolson this looks good to me.
Just a small nitpick: I would use `$field_id` or `$id` instead of `$label`
for the variable, because at a glance I was expecting `$label` to contain
a label but it's rather an unique ID.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37332#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list