[wp-trac] [WordPress Trac] #53938: replace core uses of wp_parse_url() with PHP's native parse_url()

WordPress Trac noreply at wordpress.org
Tue Aug 17 01:24:51 UTC 2021

#53938: replace core uses of wp_parse_url() with PHP's native parse_url()
 Reporter:  pbiron                         |       Owner:  (none)
     Type:  enhancement                    |      Status:  new
 Priority:  normal                         |   Milestone:  Awaiting Review
Component:  HTTP API                       |     Version:
 Severity:  normal                         |  Resolution:
 Keywords:  needs-patch 2nd-opinion close  |     Focuses:

Comment (by jrf):

 > Just curious: when looking at a PHP core ticket like that, is there a
 way to tell in which version it was fixed? I don't see a milestone or a
 similar field neither there nor on GitHub.

 At the bottom of the ticket you can see the git reference of the commit
 which fixed the issue. In this case: http://git.php.net/?p=php-
 If you then click on "commitdiff" you can see that the changelog entry was
 added for PHP 7.0.22.

 You can also take that commit reference and use it in the repo on GitHub:
 src/commit/db287b23030a2ac16bd9e2524d7e8bbe1b4a4d9a to see the same commit
 there (they've now switched completely to GH, but used their own Git
 server previously).
 There you can also see the branch information `php-8.1.0beta2 ...
 php-7.0.22RC1` and if you click on the `...` if will fold out and show you
 more precise details, like that it went into PHP 7.0.22 and 7.1.8 and is
 included in all versions since 7.2.0.

 Does that help ?

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

More information about the wp-trac mailing list