Index: tiny_mce_config.php
===================================================================
--- tiny_mce_config.php	(revision 7591)
+++ tiny_mce_config.php	(working copy)
@@ -49,11 +49,11 @@
 $https = ( isset($_SERVER['HTTPS']) && 'on' == strtolower($_SERVER['HTTPS']) ) ? true : false;
 	
 $baseurl = get_option('siteurl') . '/wp-includes/js/tinymce';
-if ( $https ) str_replace('http://', 'https://', $baseurl);
+if ( $https ) $baseurl = str_replace('http://', 'https://', $baseurl);
 
 $mce_css = $baseurl . '/wordpress.css';
 $mce_css = apply_filters('mce_css', $mce_css);
-if ( $https ) str_replace('http://', 'https://', $mce_css);
+if ( $https ) $mce_css = str_replace('http://', 'https://', $mce_css);
 
 $mce_locale = ( '' == get_locale() ) ? 'en' : strtolower( substr(get_locale(), 0, 2) ); // only ISO 639-1
 
@@ -104,7 +104,7 @@
 
 	foreach ( $mce_external_plugins as $name => $url ) {
 		
-		if ( $https ) str_replace('http://', 'https://', $url);
+		if ( $https ) $url = str_replace('http://', 'https://', $url);
 		
 		$plugins[] = '-' . $name;
 

