I have a question. When I was on Wordpress 3.0, my ajax function worked. It return good things when I'm log in and log out.
add_action('wp_ajax_my_action', 'my_action_callback'); add_action('wp_ajax_nopriv_my_action', 'my_action_callback');
Now since Wordpress 3.1, I saw wp_ajax_nopriv_my_action is deprecated. So, for a visitor, my ajax function doesn't work.
What is the alternative ajax function for Wordpress 3.1 ? Please