is_search when there is no query
-
when running wp_debug log i notice that we get an error showing that is_search is checked even though there is no query… would it make sense to determine if there is a query first to prevent error?
example screenshot of potential fix to controller-frontend.php
of note i forgot to include in screenshot that we should be adding global $wp_query below the global $wpdb;
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘is_search when there is no query’ is closed to new replies.