diff --git a/client/my-sites/sidebar/utils.js b/client/my-sites/sidebar/utils.js index 446655b6bd9d6..401a548709c0b 100644 --- a/client/my-sites/sidebar/utils.js +++ b/client/my-sites/sidebar/utils.js @@ -104,5 +104,10 @@ export const itemLinkMatches = ( path, currentPath ) => { return path.startsWith( '/stats/' ); } + // For `/theme/*` paths, show Themes menu as selected. + if ( pathIncludes( currentPath, 'theme', 1 ) ) { + return pathIncludes( path, 'themes', 1 ); + } + return fragmentIsEqual( path, currentPath, 1 ); };