White text on white background in TinyMCE when wp_editor is called in WP 3.9

The text goes white when the id attribute ($editor_id) contains []. They are not allowed here.

Make sure the second argument for wp_editor does not contain [], and the text becomes visible again. I have reported that regression with a test case on ticket #26778.

To use brackets in the name attribute, use textarea_name in the settings parameter.

Example

$editor_id   = 'my_editor_1';
$editor_name="my_editor[1]";
$settings    = array (
    'tabindex'      => FALSE,
    'editor_height' => 150,
    'resize'        => TRUE,
    'textarea_name' => $editor_name
);

wp_editor( $post->post_content, $editor_id, $settings );

tech