Make WordPress Core


Ignore:
Timestamp:
11/30/2012 04:09:17 AM (11 years ago)
Author:
ryan
Message:

In the edit image modal, move Title to the advanced section and move Caption above Alt.

Props nacin
fixes #22646

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/tinymce/plugins/wpeditimage/editimage.html

    r22586 r22942  
    7474        </tr>
    7575
    76         <tr>
    77             <th valign="top" scope="row" class="label">
    78                 <label for="img_title">
    79                 <span class="alignleft">{#wpeditimage.img_title}</span>
    80                 </label>
    81             </th>
    82             <td class="field">
    83                 <input type="text" id="img_title" name="img_title" value="" aria-required="true" size="60" />
     76        <tr id="cap_field">
     77            <th valign="top" scope="row" class="label">
     78                <label for="img_cap">
     79                <span class="alignleft">{#wpeditimage.caption}</span>
     80                </label>
     81            </th>
     82            <td class="field">
     83                <textarea id="img_cap_text"></textarea>
    8484            </td>
    8585        </tr>
     
    9393            <td class="field">
    9494                <input type="text" id="img_alt" name="img_alt" value="" size="60" />
    95             </td>
    96         </tr>
    97 
    98         <tr id="cap_field">
    99             <th valign="top" scope="row" class="label">
    100                 <label for="img_cap">
    101                 <span class="alignleft">{#wpeditimage.caption}</span>
    102                 </label>
    103             </th>
    104             <td class="field">
    105                 <textarea id="img_cap_text"></textarea>
    10695            </td>
    10796        </tr>
     
    159148        <tr>
    160149            <th valign="top" scope="row" class="label">
     150                <label for="img_title">
     151                <span class="alignleft">{#wpeditimage.img_title}</span>
     152                </label>
     153            </th>
     154            <td class="field">
     155                <input type="text" id="img_title" name="img_title" value="" aria-required="true" size="60" />
     156            </td>
     157        </tr>
     158
     159        <tr>
     160            <th valign="top" scope="row" class="label">
    161161                <label for="img_classes">
    162162                <span class="alignleft">{#wpeditimage.css}</span>
Note: See TracChangeset for help on using the changeset viewer.