Changeset 4872

Show
Ignore:
Timestamp:
02/08/07 23:17:20 (1 year ago)
Author:
markjaquith
Message:

Link to TinyMCE css file with http scheme on all server setups. Props MichaelH and Andy. fixes #3646

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.1/wp-includes/js/tinymce/tiny_mce_config.php

    r4747 r4872  
    4444    $mce_css = get_option('siteurl') . '/wp-includes/js/tinymce/plugins/wordpress/wordpress.css'; 
    4545    $mce_css = apply_filters('mce_css', $mce_css); 
    46     if ( $_SERVER['HTTPS'] ) { 
     46    if ( $_SERVER['HTTPS'] == 'on' ) { 
    4747        $mce_css = str_replace('http://', 'https://', $mce_css); 
    4848        $mce_popups_css = str_replace('http://', 'https://', $mce_popups_css);