[wp-trac] [WordPress Trac] #29591: Using $wp->request in AJAX does not reflect the correct request

WordPress Trac noreply at wordpress.org
Mon Sep 8 22:06:50 UTC 2014


#29591: Using $wp->request in AJAX does not reflect the correct request
--------------------------+-----------------------------
 Reporter:  ZaneMatthew   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.0
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Should $wp->request be adjusted to return the requested URL for AJAX
 request or is this the intended behavior?

 For example if you are on http://mypage.com/page-a/ and make an AJAX
 request, then $wp->request is set to '', but it should be set to:
 'page-a'.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29591>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list