Skip to content

Commit

Permalink
Remove unneeded wp prefix from hide-if
Browse files Browse the repository at this point in the history
Bug: #26
Change-Id: Id709dab2ebd5651baa75fc3c1f4312d295d5df95
  • Loading branch information
winstonsung committed Jan 18, 2024
1 parent 1941c40 commit 4ee28e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions includes/LakeusHooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@ public function onGetPreferences( $user, &$preferences ) {
'label-message' => 'lakeus-preferences-enable-theme-designer',
'help-message' => 'lakeus-preferences-enable-theme-designer-desc',
'section' => 'rendering/skin/skin-prefs',
'hide-if' => [ '!==', 'wpskin', 'lakeus' ],
'hide-if' => [ '!==', 'skin', 'lakeus' ],
];

$preferences['lakeus-sticky-toc-donot-auto-collapse'] = [
'type' => 'check',
'label-message' => 'lakeus-preferences-sticky-toc-donot-auto-collapse',
'help-message' => 'lakeus-preferences-sticky-toc-donot-auto-collapse-desc',
'section' => 'rendering/skin/skin-prefs',
'hide-if' => [ '!==', 'wpskin', 'lakeus' ],
'hide-if' => [ '!==', 'skin', 'lakeus' ],
];

$preferences['lakeus-smooth-scroll-behavior'] = [
'type' => 'check',
'label-message' => 'lakeus-preferences-smooth-scroll-behavior',
'help-message' => 'lakeus-preferences-smooth-scroll-behavior-desc',
'section' => 'rendering/skin/skin-prefs',
'hide-if' => [ '!==', 'wpskin', 'lakeus' ],
'hide-if' => [ '!==', 'skin', 'lakeus' ],
];
}
}

0 comments on commit 4ee28e3

Please sign in to comment.