[wp-trac] [WordPress Trac] #61703: the_password_form hook documentation incorrectly references 20char password limit
WordPress Trac
noreply at wordpress.org
Fri Jul 19 00:51:45 UTC 2024
#61703: the_password_form hook documentation incorrectly references 20char password
limit
-------------------------------+-----------------------------
Reporter: dd32 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version:
Severity: normal | Keywords:
Focuses: docs |
-------------------------------+-----------------------------
The documentation for the 'the_password_form' hook currently reminds
developers that the database schema limits the password to 20 characters
in length.
https://github.com/WordPress/wordpress-
develop/blob/5a30482419f1b0bcc713a7fdee3a14afd67a1bca/src/wp-includes
/post-template.php#L1780-L1782
However, starting in WordPress 3.6 the password is no longer stored as
plaintext, and instead as a hash, which removes the length limitation of
the password.
I'd suggest that the reminder can just be removed.
Props @davidhbrown for noticing this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61703>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list