| @@ -7,8 +7,10 @@ | ||
| 7 | 7 | * @author Tobias Bäthge |
| 8 | 8 | * @since 1.0.0 |
| 9 | 9 | */ |
| 10 | 10 | |
| 11 | +declare(strict_types=1); | |
| 12 | + | |
| 11 | 13 | // Prohibit direct script loading. |
| 12 | 14 | defined( 'ABSPATH' ) || die( 'No direct script access allowed!' ); |
| 13 | 15 | |
| 14 | 16 | /** |
| @@ -84,8 +86,11 @@ | ||
| 84 | 86 | $params = array( |
| 85 | 87 | 'option_name' => 'tablepress_plugin_options', |
| 86 | 88 | 'default_value' => $this->default_plugin_options, |
| 87 | 89 | ); |
| 90 | + if ( strtotime( '2026-10-10' ) >= strtotime( 'today' ) ) { | |
| 91 | + $params['default_value']['message_plugin_update'] = true; | |
| 92 | + } | |
| 88 | 93 | $this->plugin_options = TablePress::load_class( 'TablePress_WP_Option', 'class-wp_option.php', 'classes', $params ); |
| 89 | 94 | |
| 90 | 95 | $params = array( |
| 91 | 96 | 'option_name' => 'tablepress_user_options', |