Skip to content

Commit

Permalink
Theme Switcher: Ignore case when checking page URIs.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryelle committed Aug 12, 2023
1 parent 29b8df4 commit 3f468b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/wp-content/mu-plugins/theme-switcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 3f468b3

Please sign in to comment.