Skip to content
Commit 780dff19 authored by Andrew Nacin's avatar Andrew Nacin
Browse files

Use is_admin WP_Query propery, not is_admin(), when adding protected post...

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.

git-svn-id: https://core.svn.wordpress.org/trunk@19932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 5a8cb957
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment