[wp-trac] [WordPress Trac] #20308: Filtering of password protected posts
WordPress Trac
noreply at wordpress.org
Tue Dec 11 22:15:18 UTC 2012
#20308: Filtering of password protected posts
-------------------------+------------------------------
Reporter: paddelboot | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+------------------------------
Changes (by robmiller):
* cc: r@… (added)
* keywords: needs-patch => has-patch
Comment:
I've added a patch that allows querying for password-protected posts in
WP_Query.
It adds a query var called "has_password"; if it's truthy, password-
protected posts will be returned; if it's falsey, public posts will be
returned.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20308#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list