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
This commit is contained in:
Mark Jaquith 2007-01-26 02:57:07 +00:00
parent 320ac834de
commit eadcf2f4cc
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}