[wp-hackers] Admin Menu Active Item

ampt notfornoone at gmail.com
Mon Feb 28 12:43:45 UTC 2011

On 28 February 2011 22:02, Ryan Bilesky <rbilesky at gmail.com> wrote:
> Its the same page the value of $_GET['page'] is the same, i have a custom
> query var called act that determains what to show.

Ahh right, sorry I misunderstood your question.

You shouldn't need to force the item in the admin menu to be
highlighted, WordPress should be handling that for you.

What if you try it with a simple plugin so all it does is add the menu
and print out a different message when you pass in your different
query var, do you get the same problem?

More information about the wp-hackers mailing list