[wp-trac] [WordPress Trac] #36674: Make WP->parse_request() variables more self-descriptive
WordPress Trac
noreply at wordpress.org
Tue Apr 26 18:13:05 UTC 2016
#36674: Make WP->parse_request() variables more self-descriptive
---------------------------+------------------------------
Reporter: ericlewis | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Rewrite Rules | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+------------------------------
Comment (by ericlewis):
This is related to
[https://core.trac.wordpress.org/ticket/18877#comment:16 my question] in
#18877
> The fact that the function requires $request and $request_uri is
confusing. I wonder if we can boil the function input down to $request.
We can't boil down the function input to `$request`, because the rewrite
matching engine needs to know what the requested filename as well as the
URL path in the case of PATH_INFO links.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36674#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list