Skip to content

Commit

Permalink
Turn on the new theme for download subpages
Browse files Browse the repository at this point in the history
  • Loading branch information
ryelle committed Oct 5, 2022
1 parent 512a565 commit 732a9bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/wp-content/mu-plugins/theme-switcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ function should_use_new_theme() {
$new_theme_pages = array(
'/',
'/download/',
'/download/beta-nightly/',
'/download/counter/',
'/download/releases/',
'/download/source/',
'/mobile/',
);
if ( ! in_array( $request_uri, $new_theme_pages ) ) {
Expand Down

0 comments on commit 732a9bc

Please sign in to comment.