Skip to content

Commit 87d1e81

Browse files
committed
Ignore zThemeParams on GET /themeroller
1 parent 9ce01d7 commit 87d1e81

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

themeroller.js

+3
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ var Frontend = function( args ) {
4242

4343
Frontend.prototype = {
4444
index: function( vars, options ) {
45+
if ( vars && "zThemeParams" in vars ) {
46+
delete vars.zThemeParams;
47+
}
4548
var theme = new ThemeRoller({
4649
vars: vars
4750
});

0 commit comments

Comments
 (0)