[wp-trac] [WordPress Trac] #36356: Function signature of wp_parse_url() does not match parse_url()

WordPress Trac noreply at wordpress.org
Tue Aug 30 17:48:08 UTC 2016


#36356: Function signature of wp_parse_url() does not match parse_url()
------------------------------+--------------------------
 Reporter:  johnbillion       |       Owner:  johnbillion
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.7
Component:  HTTP API          |     Version:  4.4
 Severity:  normal            |  Resolution:  fixed
 Keywords:  needs-unit-tests  |     Focuses:
------------------------------+--------------------------
Changes (by johnbillion):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"38452"]:
 {{{
 #!CommitTicketReference repository="" revision="38452"
 HTTP API: The tests for `wp_parse_url()` can't be strict on type because
 this causes the tests to fail on PHP 5.2 which, bizarrely, returns the
 results of `parse_url()` (when called with a `$component` parameter) in a
 different order to later PHP versions.

 Fixes #36356
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36356#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list