[wp-trac] [WordPress Trac] #35531: `url_to_postid` can fail in some contexts due to `set_url_scheme`
WordPress Trac
noreply at wordpress.org
Sun Feb 28 02:12:16 UTC 2016
#35531: `url_to_postid` can fail in some contexts due to `set_url_scheme`
--------------------------------------------+--------------------------
Reporter: batmoo | Owner: johnbillion
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.5
Component: Rewrite Rules | Version: 4.4
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests https | Focuses: multisite
--------------------------------------------+--------------------------
Changes (by johnbillion):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"36750"]:
{{{
#!CommitTicketReference repository="" revision="36750"
Rewrite Rules: Ensure `url_to_postid()` operates as expected when it's
used in the context of another site within a Multisite network that uses
mixed URL schemes.
Fixes #35531
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35531#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list