[wp-trac] [WordPress Trac] #36356: Function signature of wp_parse_url() does not match parse_url()
WordPress Trac
noreply at wordpress.org
Tue Oct 4 20:32:42 UTC 2016
#36356: Function signature of wp_parse_url() does not match parse_url()
--------------------------------------+----------------------------
Reporter: johnbillion | Owner: peterwilsoncc
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7
Component: HTTP API | Version: 4.4
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+----------------------------
Changes (by peterwilsoncc):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"38726"]:
{{{
#!CommitTicketReference repository="" revision="38726"
HTTP API: Simplify `wp_parse_url()` to ensure consistent results.
[38694] revealed some URL formats were been parsed incorrectly, including
those used by Google Fonts. This change simplifies the function to use
placeholder values which cause PHP's parsing to behave consistently.
Props jrf, peterwilsoncc.
Fixes #36356.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36356#comment:36>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list