[wp-trac] [WordPress Trac] #7945: Allow $_GET['action'] in admin-ajax.php

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 22 14:42:21 GMT 2008


#7945: Allow $_GET['action'] in admin-ajax.php
--------------------------+-------------------------------------------------
 Reporter:  misterbisson  |       Owner:  anonymous
     Type:  enhancement   |      Status:  new      
 Priority:  normal        |   Milestone:  2.8      
Component:  General       |     Version:           
 Severity:  normal        |    Keywords:           
--------------------------+-------------------------------------------------
 admin-ajax.php doesn't now allow plugins to hook into do_action(
 'wp_ajax_' . $_GET['action'] ), even though $_GET['action'] is used for
 ajax-tag-search. Requiring $_POST['action'] when $_GET['action'] would
 otherwise work adds additional complexity.

 The attached diff solves the problem.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7945>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list