[wp-hackers] Get cat parameter from admin-ajax
scribu
mail at scribu.net
Fri Nov 5 16:22:26 UTC 2010
On Fri, Nov 5, 2010 at 5:11 PM, Muro, Matthew <mmuro at advance.ua.edu> wrote:
> 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.
>
If you install Firebug, you will find that the 'cat' parameter is passed to
the AJAX request too.
If you need more help, share the link to the plugin.
More information about the wp-hackers
mailing list