[wp-trac] [WordPress Trac] #10345: change wp_ajax_nopriv in admin-ajax.php to support GET as well as POST

WordPress Trac wp-trac at lists.automattic.com
Sun Jul 5 08:34:07 UTC 2009


#10345: change wp_ajax_nopriv in admin-ajax.php to support GET as well as POST
----------------------------+-----------------------------------------------
 Reporter:  dd32            |       Owner:           
     Type:  defect (bug)    |      Status:  new      
 Priority:  normal          |   Milestone:  2.9      
Component:  Administration  |     Version:  2.9      
 Severity:  normal          |    Keywords:  has-patch
----------------------------+-----------------------------------------------
 At present, the admin-ajax.php file supports GET and POST methods for
 logged in users, However, Only supports POST requests for those who are
 not logged in.

 For the sake of consistency, I suggest allowing both GET and POST requests
 to fire this action.

 See patch.

 (Note for others, WordPress forces $_REQUEST to be GET/POST only, so no
 cookie issues)

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


More information about the wp-trac mailing list