| @@ -106,9 +106,9 @@ | ||
| 106 | 106 | $is_delete_if_deactive = get_bk_option( $this->init_option['option-is_delete_if_deactive'] ); // check |
| 107 | 107 | |
| 108 | 108 | if ($is_delete_if_deactive == 'On') { ?> |
| 109 | 109 | <div class="plugin-update-tr"> |
| 110 | - <div class="update-message notice inline notice-warning notice-altNO" style="font-size: 1em;line-height: 2em;margin:0 5px 10px;border-left: 3px solid #dd7000;"><?php | |
| 110 | + <div class="update-message notice inline notice-error" style="line-height: 2.2em;border-left: 3px solid #cc1818;margin-left: 0;color: #cc1818;background: #fff6f4;"><?php | |
| 111 | 111 | // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped |
| 112 | 112 | echo $this->init_option['message-delete_data']; ?></div> |
| 113 | 113 | </div> |
| 114 | 114 | <?php |
| @@ -312,8 +312,9 @@ | ||
| 312 | 312 | /** |
| 313 | 313 | * Run Deactivate |
| 314 | 314 | */ |
| 315 | 315 | public function wpbc_deactivate() { |
| 316 | + wpbc_set_plugin_deactivation_state( true ); | |
| 316 | 317 | |
| 317 | 318 | WPBC_Action_Scheduler_Compatibility::raise_memory_limit(); |
| 318 | 319 | WPBC_Action_Scheduler_Compatibility::raise_time_limit( 300 ); |
| 319 | 320 | |
| @@ -328,5 +329,5 @@ | ||
| 328 | 329 | delete_bk_option( $this->init_option['option-activation_process'] ); |
| 329 | 330 | } |
| 330 | 331 | } |
| 331 | 332 | |
| 332 | -} | |
| 333 | +} | |