You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Unset the `s` query arg because it is automagically filled by `WP_Query::fill_query_vars` and makes the query believe it is a search query when it is not
71
+
72
+
// Unset the `s` query arg because it is automagically filled by
73
+
// `WP_Query::fill_query_vars` and makes the query believe
74
+
// it is a search query when it is not
61
75
if ( ! is_search() ) {
62
76
unset( $query_args['s'] );
63
77
}
64
-
78
+
65
79
if ( empty( $query_args['post_type'] ) && is_singular() ) {
0 commit comments