Changeset 32984 for trunk/src/wp-admin/includes/class-wp-list-table.php
- Timestamp:
- 06/28/2015 05:45:49 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-list-table.php
r32948 r32984 994 994 } 995 995 996 $tag = ( 'cb' === $column_key ) ? 'td' : 'th'; 997 $scope = ( 'th' === $tag ) ? 'scope="col"' : ''; 996 998 $id = $with_id ? "id='$column_key'" : ''; 997 999 … … 999 1001 $class = "class='" . join( ' ', $class ) . "'"; 1000 1002 1001 echo "< th scope='col' $id $class>$column_display_name</th>";1003 echo "<$tag $scope $id $class>$column_display_name</$tag>"; 1002 1004 } 1003 1005 }
Note: See TracChangeset
for help on using the changeset viewer.