Skip to content

Commit

Permalink
Link to TinyMCE css file with http scheme on all server setups. Props…
Browse files Browse the repository at this point in the history
… MichaelH and Andy. fixes #3646

git-svn-id: http://svn.automattic.com/wordpress/branches/2.1@4872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
markjaquith committed Feb 8, 2007
1 parent 987fb78 commit a5c59de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-includes/js/tinymce/tiny_mce_config.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function wp_translate_tinymce_lang($text) {
$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);
}
Expand Down

0 comments on commit a5c59de

Please sign in to comment.