WordPress.org

Make WordPress Core

Changeset 19598


Ignore:
Timestamp:
12/16/11 02:48:02 (2 years ago)
Author:
dd32
Message:

Use is_ssl() in self_link(). Fixes #19563

File:
1 edited

Legend:

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

    r19364 r19598  
    490490    $host = $host['host']; 
    491491    echo esc_url( 
    492         'http' 
    493         . ( (isset($_SERVER['https']) && $_SERVER['https'] == 'on') ? 's' : '' ) . '://' 
     492        ( is_ssl() ? 'https' : 'http' ) . '://' 
    494493        . $host 
    495494        . stripslashes($_SERVER['REQUEST_URI']) 
Note: See TracChangeset for help on using the changeset viewer.