Changeset 56174 for trunk/src/wp-admin/includes/class-wp-list-table.php
- Timestamp:
- 07/09/2023 07:50:52 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-list-table.php
r56004 r56174 1143 1143 } 1144 1144 1145 // We need a primary defined so responsive views show something, 1146 // so let's fall back to the first non-checkbox column. 1145 /* 1146 * We need a primary defined so responsive views show something, 1147 * so let's fall back to the first non-checkbox column. 1148 */ 1147 1149 foreach ( $columns as $col => $column_name ) { 1148 1150 if ( 'cb' === $col ) { … … 1181 1183 $default = $this->get_default_primary_column_name(); 1182 1184 1183 // If the primary column doesn't exist, 1184 // fall back to the first non-checkbox column. 1185 /* 1186 * If the primary column doesn't exist, 1187 * fall back to the first non-checkbox column. 1188 */ 1185 1189 if ( ! isset( $columns[ $default ] ) ) { 1186 1190 $default = self::get_default_primary_column_name(); … … 1667 1671 } 1668 1672 1669 // Comments column uses HTML in the display name with screen reader text. 1670 // Strip tags to get closer to a user-friendly string. 1673 /* 1674 * Comments column uses HTML in the display name with screen reader text. 1675 * Strip tags to get closer to a user-friendly string. 1676 */ 1671 1677 $data = 'data-colname="' . esc_attr( wp_strip_all_tags( $column_display_name ) ) . '"'; 1672 1678
Note: See TracChangeset
for help on using the changeset viewer.