[wp-trac] [WordPress Trac] #28798: htaccess and protected option
WordPress Trac
noreply at wordpress.org
Fri Oct 15 13:06:44 UTC 2021
#28798: htaccess and protected option
-------------------------------+------------------------------
Reporter: YU.Design | Owner: (none)
Type: enhancement | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 4.0
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------------+------------------------------
Comment (by briandd):
Replying to [comment:1 nacin]:
> A long while ago, we handled post passwords through a separate file, but
there was little need to do so.
>
> Hypothetically you could change this, but it'd be kind of a pain. You'd
have to filter the form action URL used in get_the_password_form() and
then handle the code in the 'postpass' branch by yourself. That's not
ideal. A simpler option is to not lock down wp-login.php when the URL is
action=postpass.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28798#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list