Skip to content
Commit de1ddc46 authored by Ryan Boren's avatar Ryan Boren
Browse files

Consult the main query when determining whether to show the edit menu in the...

Consult the main query when determining whether to show the edit menu in the admin bar. This insulates the admin bar from query_posts() queries made by themes and plugins. Props SergeyBiryukov. fixes #16798

git-svn-id: https://core.svn.wordpress.org/trunk@18844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 3788e841
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