[wpmu-trac] [WordPress MU Trac] #587: Undefined index: HTTPS in tiny_mce_config.php on line 47

WordPress MU Trac wpmu-trac at lists.automattic.com
Wed Apr 9 11:20:51 GMT 2008


#587: Undefined index: HTTPS in tiny_mce_config.php on line 47
------------------------+---------------------------------------------------
 Reporter:  mjoellnir   |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:          
Component:  component1  |     Version:          
 Severity:  minor       |    Keywords:          
------------------------+---------------------------------------------------
 As suggested on the wp-hackers-mailinglist, I am submitting this bug-
 report
 along with my solution-proposal:

 I am running lighttpd + fastcgi + php5 (all current versions), and since
 installing WordPress MU 1.3.3 (fresh installation), my error-logfile gets
 a bit cluttered with the following message:

 Undefined index:  HTTPS in .../wp-includes/js/tinymce/tiny_mce_config.php
 on line 47

 It seems that $_SERVER['HTTPS'] is not set. I suggest to change the line
 from the current simple

 if ( $_SERVER['HTTPS'] == 'on' ) {

 to

 if ( isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == 'on' ) ) {

 which would stop that annoying message while still keeping the intended
 functionality.

 - Volkmar

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/587>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list