[wp-trac] [WordPress Trac] #35154: The admin_url filter might break ajaxurl usage

WordPress Trac noreply at wordpress.org
Sun Dec 20 01:48:07 UTC 2015


#35154: The admin_url filter might break ajaxurl usage
-------------------------------+------------------------------
 Reporter:  jadpm              |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by johnbillion):

 * keywords:   => reporter-feedback


Comment:

 Replying to [ticket:35154 jadpm]:
 > `admin_url()` results get filtered by `admin_url`, which might add query
 arguments into `ajaxurl`, or at least modify it on a substantial way.

 What's the use case for an admin URL which contains query args? Is there
 an example of this out in the wild?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35154#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list