Opened 15 years ago
Closed 15 years ago
#10345 closed defect (bug) (fixed)
change wp_ajax_nopriv in admin-ajax.php to support GET as well as POST
Reported by: | dd32 | Owned by: | |
---|---|---|---|
Milestone: | 2.9 | Priority: | normal |
Severity: | normal | Version: | 2.9 |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
Description
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)
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [11694]) change wp_ajax_nopriv in admin-ajax.php to support GET as well as POST. Props dd32. fixes #10345