| @@ -34,8 +34,9 @@ | ||
| 34 | 34 | * |
| 35 | 35 | * @return void |
| 36 | 36 | */ |
| 37 | 37 | public function check_installation_time() { |
| 38 | + | |
| 38 | 39 | $nobug = get_option( 'rtsb_admin_review_spare_me' ); |
| 39 | 40 | $rated = get_option( 'rtsb_admin_review_rated' ); |
| 40 | 41 | |
| 41 | 42 | if ( '1' == $nobug || 'yes' == $rated ) { |
| @@ -66,8 +67,9 @@ | ||
| 66 | 67 | * |
| 67 | 68 | * @return void |
| 68 | 69 | */ |
| 69 | 70 | public function notice_actions() { |
| 71 | + // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized, WordPress.Security.ValidatedSanitizedInput.MissingUnslash | |
| 70 | 72 | if ( ! isset( $_REQUEST['_wpnonce'] ) || ! wp_verify_nonce( $_REQUEST['_wpnonce'], 'rtsb_notice_nonce' ) ) { |
| 71 | 73 | return; |
| 72 | 74 | } |
| 73 | 75 | |
| @@ -126,8 +128,11 @@ | ||
| 126 | 128 | /** |
| 127 | 129 | * Display Admin Notice, asking for a review |
| 128 | 130 | **/ |
| 129 | 131 | public function display_admin_notice() { |
| 132 | + if ( isset( $GLOBALS['woobundle_notice'] ) || isset( $GLOBALS['rtsb__notice'] ) ) { | |
| 133 | + return; | |
| 134 | + } | |
| 130 | 135 | global $pagenow; |
| 131 | 136 | |
| 132 | 137 | $exclude = [ |
| 133 | 138 | 'themes.php', |