Make WordPress Core


Ignore:
Timestamp:
09/21/2008 08:41:25 PM (18 years ago)
Author:
westi
Message:

Notice fixes see #7509 props DD32 and jacobsantos.

File:
1 edited

Legend:

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

    r8800 r8944  
    495495function self_link() {
    496496    echo 'http'
    497         . ( $_SERVER['https'] == 'on' ? 's' : '' ) . '://'
     497        . ( (isset($_SERVER['https']) && $_SERVER['https'] == 'on') ? 's' : '' ) . '://'
    498498        . $_SERVER['HTTP_HOST']
    499499        . wp_specialchars(stripslashes($_SERVER['REQUEST_URI']), 1);
Note: See TracChangeset for help on using the changeset viewer.