From eadcf2f4cc032e4b6ec6be68719e083fa8d824e0 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Fri, 26 Jan 2007 02:57:07 +0000 Subject: [PATCH] Link to TinyMCE css file with http scheme on all server setups. Props MichaelH and Andy. fixes #3646 git-svn-id: https://develop.svn.wordpress.org/trunk@4812 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/js/tinymce/tiny_mce_config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/js/tinymce/tiny_mce_config.php b/wp-includes/js/tinymce/tiny_mce_config.php index 808cfb6162..7994767497 100644 --- a/wp-includes/js/tinymce/tiny_mce_config.php +++ b/wp-includes/js/tinymce/tiny_mce_config.php @@ -43,7 +43,7 @@ $mce_popups_css = get_option('siteurl') . '/wp-includes/js/tinymce/plugins/wordpress/popups.css'; $mce_css = get_option('siteurl') . '/wp-includes/js/tinymce/plugins/wordpress/wordpress.css'; $mce_css = apply_filters('mce_css', $mce_css); - if ( $_SERVER['HTTPS'] ) { + if ( $_SERVER['HTTPS'] == 'on' ) { $mce_css = str_replace('http://', 'https://', $mce_css); $mce_popups_css = str_replace('http://', 'https://', $mce_popups_css); }