[wp-trac] [WordPress Trac] #23087: Filter wp-register.php canonical redirect in single site too
WordPress Trac
noreply at wordpress.org
Fri Sep 18 19:58:07 UTC 2015
#23087: Filter wp-register.php canonical redirect in single site too
---------------------------------------------------+-----------------------
Reporter: chrisclayton | Owner:
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.4
Component: Canonical | Version:
Severity: normal | Resolution:
Keywords: good-first-bug has-patch dev-feedback | Focuses:
---------------------------------------------------+-----------------------
Changes (by colinhahn):
* keywords: good-first-bug has-patch => good-first-bug has-patch dev-
feedback
Comment:
It looks like some of the code that my patch addressed has been addressed
independently in ticket #31495, committed by @johnbillion in changeset
[34213]. One difference is that my patch made the scheme default null, so
each of the replacements specifies that it's a login context. I'm happy to
submit another patch that adds that to the work in [34213] if desired.
The benefit of having the scheme passed in the function parameter is that
it's a little clearer what the context is at the point that the function
call is made, and it parallels the way $scheme is passed in other
functions.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23087#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list