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

git-svn-id: http://svn.automattic.com/wordpress/trunk@4812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2007-01-26 02:57:07 +00:00
parent f7bf2c25ac
commit 246602968a
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);
}