| @@ -1,4 +1,4 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * @version 1.0 |
| 4 | 4 | * @package Booking Calendar |
| @@ -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 |
| @@ -293,11 +293,11 @@ | ||
| 293 | 293 | |
| 294 | 294 | /** |
| 295 | 295 | * Run Activate |
| 296 | 296 | */ |
| 297 | - public function wpbc_activate() { | |
| 298 | - | |
| 299 | - WPBC_Action_Scheduler_Compatibility::raise_memory_limit(); | |
| 297 | + public function wpbc_activate() { | |
| 298 | + | |
| 299 | + WPBC_Action_Scheduler_Compatibility::raise_memory_limit(); | |
| 300 | 300 | WPBC_Action_Scheduler_Compatibility::raise_time_limit( 300 ); |
| 301 | 301 | |
| 302 | 302 | update_bk_option( $this->init_option['option-activation_process'], 'On' ); |
| 303 | 303 | |
| @@ -311,12 +311,12 @@ | ||
| 311 | 311 | |
| 312 | 312 | /** |
| 313 | 313 | * Run Deactivate |
| 314 | 314 | */ |
| 315 | - public function wpbc_deactivate() { | |
| 316 | - wpbc_set_plugin_deactivation_state( true ); | |
| 317 | - | |
| 318 | - WPBC_Action_Scheduler_Compatibility::raise_memory_limit(); | |
| 315 | + public function wpbc_deactivate() { | |
| 316 | + wpbc_set_plugin_deactivation_state( true ); | |
| 317 | + | |
| 318 | + WPBC_Action_Scheduler_Compatibility::raise_memory_limit(); | |
| 319 | 319 | WPBC_Action_Scheduler_Compatibility::raise_time_limit( 300 ); |
| 320 | 320 | |
| 321 | 321 | $is_delete_if_deactive = get_bk_option( $this->init_option['option-is_delete_if_deactive'] ); // check. |
| 322 | 322 | |
| @@ -329,5 +329,5 @@ | ||
| 329 | 329 | delete_bk_option( $this->init_option['option-activation_process'] ); |
| 330 | 330 | } |
| 331 | 331 | } |
| 332 | 332 | |
| 333 | -} | |
| 333 | +} | |