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

WordPress Trac noreply at wordpress.org
Tue Mar 4 07:44:30 UTC 2014


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

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"27395"]:
 {{{
 #!CommitTicketReference repository="" revision="27395"
 Add has_password and post_password query variables to WP_Query.

  * has_password true means posts with passwords, false means posts
 without.
  * post_password can query for posts with a particular password.

 props wonderboymusic, robmiller.
 fixes #20308.
 }}}

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


More information about the wp-trac mailing list