[wp-trac] [WordPress Trac] #54507: Site Editor does not load when using "almost pretty" permalinks
WordPress Trac
noreply at wordpress.org
Thu Nov 25 17:46:29 UTC 2021
#54507: Site Editor does not load when using "almost pretty" permalinks
--------------------------+---------------------
Reporter: noisysocks | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.9
Component: REST API | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+---------------------
Comment (by mcsf):
Replying to [comment:4 TimothyBlynJacobs]:
> Does the "correct" route appear anywhere in `$_SERVER`?
In a local setup, these are the two properties in `$_SERVER` that I found
matching `//`:
{{{
[REQUEST_URI] => /test-path.php/a/b//c
[PHP_SELF] => /test-path.php/a/b//c
}}}
Looking at the documentation for `PHP_SELF`, I would say that
`REQUEST_URI` is a better bet.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54507#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list