[wp-trac] [WordPress Trac] #20308: Filtering of password protected posts

WordPress Trac noreply at wordpress.org
Tue Mar 4 07:40:19 UTC 2014


#20308: Filtering of password protected posts
------------------------------+------------------
 Reporter:  paddelboot        |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  3.9
Component:  Query             |     Version:  3.4
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+------------------

Comment (by nacin):

 The latest patch looks good. I actually meant that has_password = null
 would be the default. So, isset() rather than array_key_exists().

 I'm also making it so post_password overrules has_password if specified.
 No need for them to compete.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/20308#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list