Make WordPress Core

Changeset 9753


Ignore:
Timestamp:
11/18/2008 08:24:17 AM (15 years ago)
Author:
markjaquith
Message:

Use clean_url() in self_link(), for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/feed.php

    r9501 r9753  
    499499 */
    500500function self_link() {
    501     echo 'http'
     501    echo clean_url(
     502        'http'
    502503        . ( (isset($_SERVER['https']) && $_SERVER['https'] == 'on') ? 's' : '' ) . '://'
    503504        . $_SERVER['HTTP_HOST']
    504         . wp_specialchars(stripslashes($_SERVER['REQUEST_URI']), 1);
     505        . stripslashes($_SERVER['REQUEST_URI'])
     506        );
    505507}
    506508
Note: See TracChangeset for help on using the changeset viewer.