[wp-trac] [WordPress Trac] #20049: WP_Query should use WP_Query::is_admin, not is_admin(), to add protected statuses
WordPress Trac
wp-trac at lists.automattic.com
Wed Feb 15 19:58:11 UTC 2012
#20049: WP_Query should use WP_Query::is_admin, not is_admin(), to add protected
statuses
--------------------------+---------------------
Reporter: nacin | Owner: nacin
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.4
Component: Query | Version:
Severity: normal | Resolution: fixed
Keywords: |
--------------------------+---------------------
Changes (by nacin):
* owner: => nacin
* status: new => closed
* resolution: => fixed
Comment:
In [19932]:
{{{
#!CommitTicketReference repository="" revision="19932"
Use is_admin WP_Query propery, not is_admin(), when adding protected post
statuses to the query. Allows for overriding on the parse_query hook.
fixes #20049.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20049#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list