Make WordPress Core

Ticket #19563: fix.patch

File fix.patch, 553 bytes (added by duritong, 13 years ago)

fix for https on feed issue

  • wp-includes/feed.php

    diff --git a/wp-includes/feed.php b/wp-includes/feed.php
    index 34d8652..ad78b56 100644
    a b function self_link() { 
    490490       $host = $host['host'];
    491491       echo esc_url(
    492492               'http'
    493                . ( (isset($_SERVER['https']) && $_SERVER['https'] == 'on') ? 's' : '' ) . '://'
     493               . ( (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 's' : '' ) . '://'
    494494               . $host
    495495               . stripslashes($_SERVER['REQUEST_URI'])
    496496               );