diff --git src/wp-admin/includes/media.php src/wp-admin/includes/media.php
index ba38188..b461eae 100644
|
|
|
function edit_form_image_editor( $post ) { |
| 2679 | 2679 | |
| 2680 | 2680 | <?php |
| 2681 | 2681 | $quicktags_settings = array( 'buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close' ); |
| 2682 | | $editor_args = array( |
| 2683 | | 'textarea_name' => 'content', |
| 2684 | | 'textarea_rows' => 5, |
| 2685 | | 'media_buttons' => false, |
| 2686 | | 'tinymce' => false, |
| 2687 | | 'quicktags' => $quicktags_settings, |
| | 2682 | |
| | 2683 | /** |
| | 2684 | * Filter the wp_editor() settings for the attachment description field. |
| | 2685 | * |
| | 2686 | * @since 3.9.0 |
| | 2687 | * |
| | 2688 | * @param array $args Accepts array of parameters for wp_editor(). |
| | 2689 | * See docs for wp_editor() for details. |
| | 2690 | */ |
| | 2691 | $editor_args = apply_filters( 'attachment_description_editor_args', |
| | 2692 | array( |
| | 2693 | 'textarea_name' => 'content', |
| | 2694 | 'textarea_rows' => 5, |
| | 2695 | 'media_buttons' => false, |
| | 2696 | 'tinymce' => false, |
| | 2697 | 'quicktags' => $quicktags_settings, |
| | 2698 | ) |
| 2688 | 2699 | ); |
| 2689 | 2700 | ?> |
| 2690 | 2701 | |