We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f2b4b6 commit 45ef62fCopy full SHA for 45ef62f
2 files changed
CHANGELOG.md
@@ -1,5 +1,9 @@
1
# Types
2
3
+## 2.5.5 - 2021-11-30
4
+
5
+- Fixed a bug with orderby query parameters that are arrays.
6
7
## 2.5.4 - 2020-08-19
8
9
- Fixed error notice.
lib/Post_Type_Columns.php
@@ -162,6 +162,7 @@ public function sort_by_meta( \WP_Query $query ) {
162
if ( ! $query->is_main_query()
163
|| $typenow !== $this->post_type
164
|| empty( $orderby )
165
+ || ! is_string( $orderby )
166
|| ! isset( $this->columns[ $orderby ] )
167
|| 'meta' !== $this->columns[ $orderby ]['type']
168
) {
0 commit comments