[wp-trac] [WordPress Trac] #48242: Deprecate wp_parse_url() in favour of native parse_url()
WordPress Trac
noreply at wordpress.org
Tue Oct 8 04:18:58 UTC 2019
#48242: Deprecate wp_parse_url() in favour of native parse_url()
------------------------------------------+-------------------------------
Reporter: johnbillion | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.2
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses: coding-standards
------------------------------------------+-------------------------------
Comment (by ayeshrajans):
A couple weeks ago, I did try to short-circuit `wp_parse_url()` by
immediately passing it to `parse_url()`. (https://github.com/Ayesh
/wordpress-develop/commit/7cf2ad95c260).
One test fails in PHP 5.6 and 5.6 alone: https://travis-ci.org/Ayesh
/wordpress-develop/jobs/587819504#L2697
I suppose we need the same tests passed (which would be a BC otherwise),
plus some extra tests to make sure the error suppression has gone away. I
will work on patches in coming days.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48242#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list