[wp-trac] [WordPress Trac] #62355: WP sets REQUEST_URI to an invalid value if it's not set

WordPress Trac noreply at wordpress.org
Mon Dec 16 13:31:43 UTC 2024


#62355: WP sets REQUEST_URI to an invalid value if it's not set
--------------------------+------------------------------
 Reporter:  kkmuffme      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by siliconforks):

 It's funny you mention 15 years, since this was initially done almost
 exactly 15 years ago: [13812]

 According to the commit message, the intention was to eliminate the need
 for `isset()` checks.

 It could be argued that it is better to simply use `isset()` checks, but
 it has been like this for so long now that changing it would likely cause
 issues for existing plugins.

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


More information about the wp-trac mailing list