Make WordPress Core


Ignore:
Timestamp:
03/21/2012 10:48:36 PM (12 years ago)
Author:
azaozz
Message:

Don't use class="code" for the captions textareas as it resets RTL, see #18311

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/media.php

    r20174 r20247  
    807807    $name = "attachments[{$edit_post->ID}][post_excerpt]";
    808808
    809     return '<textarea class="code" name="' . $name . '" id="' . $name . '">' . $edit_post->post_excerpt . '</textarea>';
     809    return '<textarea name="' . $name . '" id="' . $name . '">' . $edit_post->post_excerpt . '</textarea>';
    810810}
    811811
     
    19561956                <span class="alignleft"><label for="caption">' . __('Image Caption') . '</label></span>
    19571957            </th>
    1958             <td class="field"><textarea id="caption" class="code" name="caption"></textarea></td>
     1958            <td class="field"><textarea id="caption" name="caption"></textarea></td>
    19591959        </tr>
    19601960';
Note: See TracChangeset for help on using the changeset viewer.