WordPress.org

Make WordPress Core

Ticket #11569: 11569.patch

File 11569.patch, 1.4 KB (added by hakre, 4 years ago)
  • wp-admin/includes/media.php

    ### Eclipse Workspace Patch 1.0
    #P wordpress-trunk
     
    12911291                        continue; 
    12921292                } 
    12931293 
    1294                 $required      = $field['required'] ? '<abbr title="required" class="required">*</abbr>' : ''; 
     1294                $required      = $field['required'] ? '<span class="alignright"><abbr title="required" class="required">*</abbr></span>' : ''; 
    12951295                $aria_required = $field['required'] ? " aria-required='true' " : ''; 
    12961296                $class  = $id; 
    12971297                $class .= $field['required'] ? ' form-required' : ''; 
    12981298 
    1299                 $item .= "\t\t<tr class='$class'>\n\t\t\t<th valign='top' scope='row' class='label'><label for='$name'><span class='alignleft'>{$field['label']}</span><span class='alignright'>$required</span><br class='clear' /></label></th>\n\t\t\t<td class='field'>"; 
     1299                $item .= "\t\t<tr class='$class'>\n\t\t\t<th valign='top' scope='row' class='label'><label for='$name'><span class='alignleft'>{$field['label']}</span>$required<br class='clear' /></label></th>\n\t\t\t<td class='field'>"; 
    13001300                if ( !empty( $field[ $field['input'] ] ) ) 
    13011301                        $item .= $field[ $field['input'] ]; 
    13021302                elseif ( $field['input'] == 'textarea' ) { 
     
    15311531<p class="savebutton ml-submit"> 
    15321532<input type="submit" class="button" name="save" value="<?php esc_attr_e( 'Save all changes' ); ?>" /> 
    15331533</p> 
     1534</form> 
    15341535<?php 
    15351536} 
    15361537