[wp-trac] [WordPress Trac] #48242: Deprecate wp_parse_url() in favour of native parse_url()

WordPress Trac noreply at wordpress.org
Mon Oct 21 01:13:54 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 dd32):

 I would highly suggest against deprecating `wp_parse_url()` but would be
 in favour of removing any older PHP workarounds it contains.

 It seems highly likely that there'll be cases that need working around or
 filling in in the future too, based on history, and also the potential for
 security implications in URL parsing in the future.

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


More information about the wp-trac mailing list