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/branches/2.1@4872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2007-02-08 23:17:20 +00:00
parent 987fb7822d
commit a5c59de945

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