fix(core): 🐛 incorrect class of auto theme on page output

This commit is contained in:
alistair3149 2024-04-25 15:19:51 -04:00
parent 173f093a07
commit 405eef0b9a
No known key found for this signature in database

View file

@ -53,7 +53,7 @@ final class Theme extends Partial {
// Add HTML class based on theme set // Add HTML class based on theme set
if ( CLIENTPREFS_THEME_MAP[ $theme ] ) { if ( CLIENTPREFS_THEME_MAP[ $theme ] ) {
$out->addHtmlClasses( 'skin-theme-clientpref-' . $theme ); $out->addHtmlClasses( 'skin-theme-clientpref-' . CLIENTPREFS_THEME_MAP[ $theme ] );
} }
} }
} }