Restore 'insert-media-button' as an ID attribute for the first instance of media_buttons(). Remove IDs for subsequent instances.

props nacin.
fixes #28090.

git-svn-id: https://develop.svn.wordpress.org/trunk@29671 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2014-09-02 09:07:08 +00:00
parent 81d1c6d2c4
commit bd07f41256
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -504,7 +504,7 @@ if ( post_type_supports($post_type, 'editor') ) {
<?php wp_editor( $post->post_content, 'content', array(
'dfw' => true,
'drag_drop_upload' => true,
'tabfocus_elements' => 'insert-media-button-1,save-post',
'tabfocus_elements' => 'insert-media-button,save-post',
'editor_height' => 300,
'tinymce' => array(
'resize' => false,