From 6f3ee5274fcf0493d4bd00c0152b5cd7bc583130 Mon Sep 17 00:00:00 2001 From: Adam Wood <1017872+adamwoodnz@users.noreply.github.com> Date: Fri, 2 Aug 2024 10:21:54 +1200 Subject: [PATCH] 2024 Theme: Fix admin requests See https://github.com/WordPress/Learn/pull/2811 --- wp-content/themes/pub/wporg-learn-2024/inc/query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-content/themes/pub/wporg-learn-2024/inc/query.php b/wp-content/themes/pub/wporg-learn-2024/inc/query.php index e70dbf694..a94830297 100644 --- a/wp-content/themes/pub/wporg-learn-2024/inc/query.php +++ b/wp-content/themes/pub/wporg-learn-2024/inc/query.php @@ -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'] ?? '';