[wp-hackers] Get cat parameter from admin-ajax
Muro, Matthew
mmuro at advance.ua.edu
Fri Nov 5 15:11:21 UTC 2010
Hi all,
I have a plugin that restricts the categories users can view/edit in the admin. All works fine in WordPress 3.0.1, but as I started testing 3.1 I noticed that the category filter, which is AJAX, allows you to bypass the restrictions. I'm able to filter this out in 3.0.1 because it's submitted via URL parameters. My trouble is being able to $_GET the 'cat' parameter from the new AJAX request.
I'm no jQuery expert, so if someone has any ideas on how I can do this I'd appreciate it.
Thanks,
Matthew Muro
More information about the wp-hackers
mailing list