Make WordPress Core


Ignore:
Timestamp:
07/25/2012 04:18:14 PM (13 years ago)
Author:
ryan
Message:

More screen reader text for list table checkboxes and theme install search. Props MikeLittle, SergeyBiryukov. see #21325

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-posts-list-table.php

    r21317 r21323  
    493493            case 'cb':
    494494            ?>
    495             <th scope="row" class="check-column"><?php if ( $can_edit_post ) { ?>
    496             <label class="screen-reader-text" for="cb-select-<?php the_ID(); ?>"><?php printf( __( 'Select %s' ), $title );
    497             ?></label><input id="cb-select-<?php the_ID(); ?>" type="checkbox" name="post[]" value="<?php the_ID(); ?>" />
    498             <?php } ?></th>
     495            <th scope="row" class="check-column">
     496                <?php if ( $can_edit_post ) { ?>
     497                <label class="screen-reader-text" for="cb-select-<?php the_ID(); ?>"><?php printf( __( 'Select %s' ), $title ); ?></label>
     498                <input id="cb-select-<?php the_ID(); ?>" type="checkbox" name="post[]" value="<?php the_ID(); ?>" />
     499                <?php } ?>
     500            </th>
    499501            <?php
    500502            break;
Note: See TracChangeset for help on using the changeset viewer.