Changes from trunk/wp-includes/feed.php at r8246 to branches/2.6/wp-includes/feed.php at r9770
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.6/wp-includes/feed.php
r8246 r9770 496 496 */ 497 497 function self_link() { 498 echo 'http' 499 . ( $_SERVER['https'] == 'on' ? 's' : '' ) . '://' 500 . $_SERVER['HTTP_HOST'] 501 . wp_specialchars(stripslashes($_SERVER['REQUEST_URI']), 1); 498 $host = @parse_url(get_option('home')); 499 $host = $host['host']; 500 echo clean_url( 501 'http' 502 . ( (isset($_SERVER['https']) && $_SERVER['https'] == 'on') ? 's' : '' ) . '://' 503 . $host 504 . stripslashes($_SERVER['REQUEST_URI']) 505 ); 502 506 } 503 507
Note: See TracChangeset
for help on using the changeset viewer.