Changeset 7966
- Timestamp:
- 05/20/2008 10:26:20 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/press-this.php
r7961 r7966 105 105 continue; 106 106 107 $host = parse_url($_GET['u'] , PHP_URL_HOST);107 $host = parse_url($_GET['u']); 108 108 109 109 if (strpos($src, 'http://') === false) { 110 $src = 'http://'.str_replace('//','/', $host .'/'.$src);110 $src = 'http://'.str_replace('//','/', $host['host'].'/'.$src); 111 111 } 112 112
Note: See TracChangeset
for help on using the changeset viewer.