[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 18:30:53 UTC 2016


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

Comment (by johnbillion):

 In [changeset:"38453"]:
 {{{
 #!CommitTicketReference repository="" revision="38453"
 HTTP API: Separate the test for `wp_parse_url()` with `-1` as its
 component into a separate test, so the remaining tests can use strict type
 checking. This helps avoid gotches with the potentially empty values (ie.
 `null`) that we're testing for.

 See #36356
 }}}

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


More information about the wp-trac mailing list