Changeset 8324
- Timestamp:
- 07/13/08 05:16:54 (4 months ago)
- Files:
-
- trunk/wp-includes/pluggable.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/pluggable.php
r8209 r8324 828 828 $location = 'http:' . $location; 829 829 830 $lp = parse_url($location); 830 // In php 5 parse_url may fail if the URL query part contains http://, bug #38143 831 $test = ( $cut = strpos($location, '?') ) ? substr( $location, 0, $cut ) : $location; 832 833 $lp = parse_url($test); 831 834 $wpp = parse_url(get_option('home')); 832 835
