From 3f468b3fa97642a4ab8665520706a0a65ee0c4d6 Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Sat, 12 Aug 2023 17:23:43 -0400 Subject: [PATCH] Theme Switcher: Ignore case when checking page URIs. --- source/wp-content/mu-plugins/theme-switcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/wp-content/mu-plugins/theme-switcher.php b/source/wp-content/mu-plugins/theme-switcher.php index 06f816e0..f6bfc59c 100644 --- a/source/wp-content/mu-plugins/theme-switcher.php +++ b/source/wp-content/mu-plugins/theme-switcher.php @@ -55,7 +55,7 @@ function should_use_new_theme() { '/enterprise/media/', '/hosting/', ); - if ( in_array( $request_uri, $old_theme_pages ) ) { + if ( in_array( strtolower( $request_uri ), $old_theme_pages ) ) { return false; }