Changeset 21664 for trunk/wp-includes/feed.php
- Timestamp:
- 08/30/2012 01:33:00 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/feed.php
r21652 r21664 489 489 function self_link() { 490 490 $host = @parse_url(home_url()); 491 $host = $host['host']; 492 echo esc_url( 493 ( is_ssl() ? 'https' : 'http' ) . '://' 494 . $host 495 . stripslashes($_SERVER['REQUEST_URI']) 496 ); 491 echo esc_url( set_url_scheme( 'http://' . $host['host'] . stripslashes($_SERVER['REQUEST_URI']) ) ); 497 492 } 498 493
Note: See TracChangeset
for help on using the changeset viewer.