Changeset 30604
- Timestamp:
- 11/28/2014 09:13:31 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-http.php
r30536 r30604 677 677 * 678 678 * PHP 5.4.7 expanded parse_url()'s ability to handle non-absolute url's, including 679 * schemeless and relative url's with :// in the path, this works around those limitations 680 * providing a standard output on PHP 5.2~5.4+. 681 * 682 * Error suppression is used as prior to PHP 5.3.3, an E_WARNING would be generated when URL parsing failed. 679 * schemeless and relative url's with :// in the path, this works around those 680 * limitations providing a standard output on PHP 5.2~5.4+. 681 * 682 * Error suppression is used as prior to PHP 5.3.3, an E_WARNING would be generated 683 * when URL parsing failed. 683 684 * 684 685 * @since 4.1.0 685 *686 686 * @access protected 687 * @param string $url The URL to parse 688 * @return bool|array False on failure; Array of URL components on success; See parse_url()'s return values. 687 * 688 * @param string $url The URL to parse. 689 * @return bool|array False on failure; Array of URL components on success; 690 * See parse_url()'s return values. 689 691 */ 690 692 protected static function parse_url( $url ) {
Note: See TracChangeset
for help on using the changeset viewer.