[wp-trac] [WordPress Trac] #38056: Allow custom authentication checks for post passwords
WordPress Trac
noreply at wordpress.org
Wed Sep 14 21:27:18 UTC 2016
#38056: Allow custom authentication checks for post passwords
-------------------------------+---------------------
Reporter: rmccue | Owner: jorbin
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.7
Component: Posts, Post Types | Version:
Severity: normal | Resolution: fixed
Keywords: | Focuses:
-------------------------------+---------------------
Changes (by jorbin):
* owner: => jorbin
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"38603"]:
{{{
#!CommitTicketReference repository="" revision="38603"
Posts: Add filter to allow overriding `post_password_required` return
Post Passwords are incredibly inflexible. One Password per site at a time
and other limitations that can't really be changed without a backwards
compatibility break. This adds the ability for sites to change the
password behavior such as doing per post passwords or allowing multiple
passwords to be set in a browser. The possibilities are YUGE.
Additionally, it allows for a behavior other than returning a html form
when a password is needed. This is important for non website use cases
(such as in a restful API).
Fixes #38056. See #16483.
Props rmccue.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38056#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list