[wp-trac] [WordPress Trac] #22763: add_query_arg() returns the ajaxurl

WordPress Trac noreply at wordpress.org
Wed Dec 5 22:08:44 UTC 2012


#22763: add_query_arg() returns the ajaxurl
--------------------------+------------------------------
 Reporter:  Gualtieri     |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.4.2
 Severity:  normal        |  Resolution:  maybelater
 Keywords:  close         |
--------------------------+------------------------------
Changes (by Gualtieri):

 * status:  new => closed
 * resolution:   => maybelater


Comment:

 In my case, theres an ajax call that loads the pagination after the page
 load.

 Whats happening is that add_query_arg() is getting the ajax url instead of
 the current user url.

 I was wondering if wasnt any way to check if it is an ajax call and treat
 it different, facing it as an enhancement or something like this.

 Ill close it.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22763#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list