[wp-trac] [WordPress Trac] #38038: Global $_GET parameter is broken in multisite subdirectory install

WordPress Trac noreply at wordpress.org
Tue Sep 13 11:26:19 UTC 2016


#38038: Global $_GET parameter is broken in multisite subdirectory install
--------------------------+-----------------------------
 Reporter:  arkimedia     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Permalinks    |    Version:  4.6.1
 Severity:  normal        |   Keywords:
  Focuses:  multisite     |
--------------------------+-----------------------------
 Hi,

 Global $_GET parameter is not working correctly in multisite subdirectory
 install.

 1. If I add action to init which prints contents of the global $_GET
 parameter, it works when I'm in the front page of the primary site. For
 example http://example.org/q=test
 2. In the sub page (not sub site) like http://example.org/subpage/q=test I
 got empty array.

 Many plugins like REST API are using $_GET parameters, for example to
 order results . All of these plugins are broken in multisite subdirectory
 install.

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


More information about the wp-trac mailing list