Skip to content

Commit 1d9bb11

Browse files
committed
error in Connection banner.
1 parent 0fc732b commit 1d9bb11

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

redux-core/inc/classes/class-redux-connection-banner.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,7 @@ public static function init(): ?Redux_Connection_Banner {
8080
private function __construct() {
8181
$clean_get = $_GET; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
8282
if ( isset( $clean_get['_wpnonce'] ) && wp_verify_nonce( $clean_get['_wpnonce'], $this->nonce ) ) {
83-
if ( isset( $clean_get[ $this->register_option ] ) ) {
84-
Redux_Functions_Ex::set_activated();
85-
return;
86-
}
8783
if ( isset( $clean_get[ $this->dismiss_option ] ) ) {
88-
Redux_Functions_Ex::set_deactivated();
8984
update_option( 'redux-framework_extendify_plugin_notice', 'hide' );
9085
return;
9186
}

0 commit comments

Comments
 (0)