WordPress.org

Make WordPress Core

Ticket #7293: media.php.r8328.diff

File media.php.r8328.diff, 1.1 KB (added by RanYanivHartstein, 7 years ago)

Patch to fix bad HTML form in media upload form

  • media.php

     
    12831283                <tr> 
    12841284                        <th valign="top" scope="row" class="label" style="width:120px;"> 
    12851285                                <span class="alignleft"><label for="src">' . __('Source') . '</label></span> 
    1286                                 <span class="alignright"><img id="status_img" src="images/required.gif" title="required" alt="required" /></span> 
     1286                                <span class="alignright"><abbr title="required" class="required">*</abbr></span> 
    12871287                        </th> 
    12881288                        <td class="field"><input id="src" name="src" value="" type="text" aria-required="true" onblur="addExtImage.getImageData()"></td> 
    12891289                </tr> 
     
    12931293                                <span class="alignleft"><label for="title">' . __('Image Title') . '</label></span> 
    12941294                                <span class="alignright"><abbr title="required" class="required">*</abbr></span> 
    12951295                        </th> 
    1296                         <td class="field"><p><input id="title" name="title" value="" type="text" aria-required="true" /></p></td> 
     1296                        <td class="field"><input id="title" name="title" value="" type="text" aria-required="true" /></td> 
    12971297                </tr> 
    12981298'; 
    12991299        // CAPTIONS_OFF is temporary. Do not use it.