Make WordPress Core

Ticket #18801: 18801.diff

File 18801.diff, 637 bytes (added by sabreuse, 12 years ago)
  • wp-admin/includes/template.php

     
    11501150                if ( !empty($field['args']['label_for']) )
    11511151                        echo '<th scope="row"><label for="' . $field['args']['label_for'] . '">' . $field['title'] . '</label></th>';
    11521152                else
    1153                         echo '<th scope="row">' . $field['title'] . '</th>';
     1153                        echo '<th scope="row"><label for="' . $field['title'] . '">' . $field['title'] . '</th>';
    11541154                echo '<td>';
    11551155                call_user_func($field['callback'], $field['args']);
    11561156                echo '</td>';