diff --git wp-admin/includes/class-wp-list-table.php wp-admin/includes/class-wp-list-table.php
index bf642ac..2178d6b 100644
|
|
class WP_List_Table { |
1088 | 1088 | } |
1089 | 1089 | |
1090 | 1090 | if ( isset( $sortable[$column_key] ) ) { |
1091 | | list( $orderby, $desc_first ) = $sortable[$column_key]; |
| 1091 | list( $orderby, $asc_first ) = $sortable[$column_key]; |
1092 | 1092 | |
1093 | 1093 | if ( $current_orderby === $orderby ) { |
1094 | 1094 | $order = 'asc' === $current_order ? 'desc' : 'asc'; |
1095 | 1095 | $class[] = 'sorted'; |
1096 | 1096 | $class[] = $current_order; |
1097 | 1097 | } else { |
1098 | | $order = $desc_first ? 'desc' : 'asc'; |
| 1098 | $order = $asc_first ? 'asc' : 'desc'; |
1099 | 1099 | $class[] = 'sortable'; |
1100 | | $class[] = $desc_first ? 'asc' : 'desc'; |
| 1100 | $class[] = $asc_first ? 'desc' : 'asc'; |
1101 | 1101 | } |
1102 | 1102 | |
1103 | 1103 | $column_display_name = '<a href="' . esc_url( add_query_arg( compact( 'orderby', 'order' ), $current_url ) ) . '"><span>' . $column_display_name . '</span><span class="sorting-indicator"></span></a>'; |