Make WordPress Core

Changeset 4812


Ignore:
Timestamp:
01/26/2007 02:57:07 AM (17 years ago)
Author:
markjaquith
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/tinymce/tiny_mce_config.php

    r4747 r4812  
    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);
Note: See TracChangeset for help on using the changeset viewer.