Skip to content

Commit

Permalink
2024 Theme: Fix admin requests
Browse files Browse the repository at this point in the history
See #2811
  • Loading branch information
adamwoodnz committed Aug 1, 2024
1 parent 8b86270 commit 6f3ee52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-content/themes/pub/wporg-learn-2024/inc/query.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function add_excluded_to_lesson_archive_query( $query ) {
*/
function handle_all_level_query( $query_vars ) {
if ( is_admin() ) {
return;
return $query_vars;
}

$level = $query_vars['wporg_lesson_level'] ?? '';
Expand Down

0 comments on commit 6f3ee52

Please sign in to comment.