Changeset 61456 for trunk/src/wp-admin/includes/class-wp-list-table.php
- Timestamp:
- 01/09/2026 04:20:21 AM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-list-table.php
r61440 r61456 1452 1452 1453 1453 if ( isset( $sortable[ $column_key ] ) ) { 1454 $orderby = isset( $sortable[ $column_key ][0] ) ? $sortable[ $column_key ][0] :'';1455 $desc_first = isset( $sortable[ $column_key ][1] ) ? $sortable[ $column_key ][1] :false;1456 $abbr = isset( $sortable[ $column_key ][2] ) ? $sortable[ $column_key ][2] :'';1457 $orderby_text = isset( $sortable[ $column_key ][3] ) ? $sortable[ $column_key ][3] :'';1458 $initial_order = isset( $sortable[ $column_key ][4] ) ? $sortable[ $column_key ][4] :'';1454 $orderby = $sortable[ $column_key ][0] ?? ''; 1455 $desc_first = $sortable[ $column_key ][1] ?? false; 1456 $abbr = $sortable[ $column_key ][2] ?? ''; 1457 $orderby_text = $sortable[ $column_key ][3] ?? ''; 1458 $initial_order = $sortable[ $column_key ][4] ?? ''; 1459 1459 1460 1460 /* … … 1568 1568 1569 1569 if ( isset( $sortable[ $column_key ] ) ) { 1570 $orderby = isset( $sortable[ $column_key ][0] ) ? $sortable[ $column_key ][0] :'';1571 $desc_first = isset( $sortable[ $column_key ][1] ) ? $sortable[ $column_key ][1] :false;1572 $abbr = isset( $sortable[ $column_key ][2] ) ? $sortable[ $column_key ][2] :'';1573 $orderby_text = isset( $sortable[ $column_key ][3] ) ? $sortable[ $column_key ][3] :'';1574 $initial_order = isset( $sortable[ $column_key ][4] ) ? $sortable[ $column_key ][4] :'';1570 $orderby = $sortable[ $column_key ][0] ?? ''; 1571 $desc_first = $sortable[ $column_key ][1] ?? false; 1572 $abbr = $sortable[ $column_key ][2] ?? ''; 1573 $orderby_text = $sortable[ $column_key ][3] ?? ''; 1574 $initial_order = $sortable[ $column_key ][4] ?? ''; 1575 1575 1576 1576 if ( ! is_string( $orderby_text ) || '' === $orderby_text ) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)