Changeset 52838 for trunk/src/wp-includes/http.php
- Timestamp:
- 03/10/2022 04:00:27 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/http.php
r52572 r52838 655 655 656 656 /** 657 * A wrapper for PHP's parse_url() function that handles consistency in the return 658 * valuesacross PHP versions.659 * 660 * PHP 5.4.7 expanded parse_url()'s ability to handle non-absolute url's, including661 * schemeless and relative url's with ://in the path. This function works around657 * A wrapper for PHP's parse_url() function that handles consistency in the return values 658 * across PHP versions. 659 * 660 * PHP 5.4.7 expanded parse_url()'s ability to handle non-absolute URLs, including 661 * schemeless and relative URLs with "://" in the path. This function works around 662 662 * those limitations providing a standard output on PHP 5.2~5.4+. 663 663 * 664 * Secondly, across various PHP versions, schemeless URLs starting containing a ":" 665 * in the query are being handled inconsistently. This function works around those 666 * differences as well. 664 * Secondly, across various PHP versions, schemeless URLs containing a ":" in the query 665 * are being handled inconsistently. This function works around those differences as well. 667 666 * 668 667 * @since 4.4.0
Note: See TracChangeset
for help on using the changeset viewer.