Title: [Plugin: TinyMCEComments] IE6 Fix
Last modified: August 19, 2016

---

# [Plugin: TinyMCEComments] IE6 Fix

 *  [joelpittet](https://wordpress.org/support/users/joelpittet/)
 * (@joelpittet)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-tinymcecomments-ie6-fix/)
 * I noticed in IE6 there is a JS error because of an dangling comma at the end 
   of the MCE init params object.
 * Here is a fix at line 247 of TinyMCEComments.php which had this:
 *     ```
       foreach ( $initArray as $k => $v )
       	    $res .= $k . ':"' . $v . '", ';
       ```
   
 * I changed it to this so that there is no ending , in JavaScript for IE to choke
   on.
 *     ```
       $params = array();
       	foreach ( $initArray as $k => $v ):
       		$params[] = $k . ':"' . $v . '"	';
       	endforeach;
       	$res = join(',', $params);
       ```
   
 * [http://wordpress.org/extend/plugins/tinymcecomments/](http://wordpress.org/extend/plugins/tinymcecomments/)

Viewing 1 replies (of 1 total)

 *  [microkid](https://wordpress.org/support/users/microkid/)
 * (@microkid)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/plugin-tinymcecomments-ie6-fix/#post-1168971)
 * Thanks for sharing, saved me a lot of time 🙂

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: TinyMCEComments] IE6 Fix’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [microkid](https://wordpress.org/support/users/microkid/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/plugin-tinymcecomments-ie6-fix/#post-1168971)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
