We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7880bfb commit 17ce57eCopy full SHA for 17ce57e
inc/classes/class-settings.php
@@ -120,7 +120,7 @@ public function add_settings_page(): void {
120
* @return void
121
*/
122
public function handle_design_library_redirect(): void {
123
- $pages = [ 'design-library', 'onedesign' ];
+ $pages = array( 'design-library', 'onedesign' );
124
125
// phpcs:ignore WordPress.Security.NonceVerification.Recommended
126
if ( ! isset( $_GET['page'] ) || ! in_array( $_GET['page'], $pages, true ) ) {
0 commit comments