mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
f7bf2c25ac
commit
246602968a
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user