[wp-trac] [WordPress Trac] #22763: add_query_arg() returns the ajaxurl
WordPress Trac
noreply at wordpress.org
Wed Dec 5 21:32:15 UTC 2012
#22763: add_query_arg() returns the ajaxurl
--------------------------+------------------------------
Reporter: Gualtieri | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.4.2
Severity: normal | Resolution:
Keywords: close |
--------------------------+------------------------------
Changes (by markoheijnen):
* keywords: => close
Comment:
I had this once when requesting a part of a template through ajax.
WordPress can't really do something with this. It's all to the ajax method
to handle this and I guess this is a custom AJAX method.
The only thing you can do is set $_SERVER['REQUEST_URI'] to the value you
want it to be.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22763#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list