IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
1052 | 1052 | $class[] = 'sorted'; |
1053 | 1053 | $class[] = $current_order; |
1054 | 1054 | } else { |
1055 | | $order = $desc_first ? 'desc' : 'asc'; |
| 1055 | if( in_array( strtolower($desc_first), array('desc', 'asc'), true ) ) |
| 1056 | $order = strtolower( $desc_first ); |
| 1057 | else |
| 1058 | $order = $desc_first ? 'desc' : 'asc'; |
| 1059 | |
1056 | 1060 | $class[] = 'sortable'; |
1057 | | $class[] = $desc_first ? 'asc' : 'desc'; |
| 1061 | $class[] = $order === 'desc' ? 'asc' : 'desc'; |
1058 | 1062 | } |
1059 | 1063 | |
1060 | 1064 | $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>'; |