Changeset 60132
- Timestamp:
- 04/06/2025 08:54:08 PM (3 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-list-table.php
r59767 r60132 1525 1525 } 1526 1526 1527 $tag = ( 'cb' === $column_key ) ? 'td' : 'th'; 1528 $scope = ( 'th' === $tag ) ? 'scope="col"' : ''; 1529 $id = $with_id ? "id='$column_key'" : ''; 1530 1531 if ( ! empty( $class ) ) { 1532 $class = "class='" . implode( ' ', $class ) . "'"; 1533 } 1534 1535 echo "<$tag $scope $id $class $aria_sort_attr $abbr_attr>$column_display_name</$tag>"; 1527 $tag = ( 'cb' === $column_key ) ? 'td' : 'th'; 1528 $scope = ( 'th' === $tag ) ? 'scope="col"' : ''; 1529 $id = $with_id ? "id='$column_key'" : ''; 1530 $class_attr = "class='" . implode( ' ', $class ) . "'"; 1531 1532 echo "<$tag $scope $id $class_attr $aria_sort_attr $abbr_attr>$column_display_name</$tag>"; 1536 1533 } 1537 1534 }
Note: See TracChangeset
for help on using the changeset viewer.