| @@ -3,15 +3,15 @@ | ||
| 3 | 3 | * WordPress plugin "TablePress" main file, responsible for initiating the plugin. |
| 4 | 4 | * |
| 5 | 5 | * @package TablePress |
| 6 | 6 | * @author Tobias Bäthge |
| 7 | - * @version 2.3 | |
| 7 | + * @version 2.2 | |
| 8 | 8 | * |
| 9 | 9 | * |
| 10 | 10 | * Plugin Name: TablePress |
| 11 | 11 | * Plugin URI: https://tablepress.org/ |
| 12 | 12 | * Description: Embed beautiful and interactive tables into your WordPress website’s posts and pages, without having to write code! |
| 13 | - * Version: 2.3 | |
| 13 | + * Version: 2.2 | |
| 14 | 14 | * Requires at least: 6.0 |
| 15 | 15 | * Requires PHP: 7.2 |
| 16 | 16 | * Author: Tobias Bäthge |
| 17 | 17 | * Author URI: https://tablepress.org/ |
| @@ -19,9 +19,9 @@ | ||
| 19 | 19 | * License: GPL 2 |
| 20 | 20 | * Donate URI: https://tablepress.org/donate/ |
| 21 | 21 | * |
| 22 | 22 | * |
| 23 | - * Copyright 2012-2024 Tobias Bäthge | |
| 23 | + * Copyright 2012-2023 Tobias Bäthge | |
| 24 | 24 | * |
| 25 | 25 | * TablePress is free software: you can redistribute it and/or modify |
| 26 | 26 | * it under the terms of the GNU General Public License, version 2, as published by |
| 27 | 27 | * the Free Software Foundation. |
| @@ -39,12 +39,8 @@ | ||
| 39 | 39 | |
| 40 | 40 | // Prohibit direct script loading. |
| 41 | 41 | defined( 'ABSPATH' ) || die( 'No direct script access allowed!' ); |
| 42 | 42 | |
| 43 | -if ( ! defined( 'TABLEPRESS_IS_PLAYGROUND_PREVIEW' ) ) { | |
| 44 | - define( 'TABLEPRESS_IS_PLAYGROUND_PREVIEW', false ); | |
| 45 | -} | |
| 46 | - | |
| 47 | 43 | if ( function_exists( 'tb_tp_fs' ) ) { |
| 48 | 44 | tb_tp_fs()->set_basename( false, __FILE__ ); // @phpstan-ignore-line |
| 49 | 45 | } else { |
| 50 | 46 | /** |
| @@ -81,9 +77,8 @@ | ||
| 81 | 77 | 'updates' => false, |
| 82 | 78 | 'localhost' => false, |
| 83 | 79 | ), |
| 84 | 80 | 'is_live' => true, |
| 85 | - 'anonymous_mode' => TABLEPRESS_IS_PLAYGROUND_PREVIEW, | |
| 86 | 81 | ) ); |
| 87 | 82 | } |
| 88 | 83 | |
| 89 | 84 | return $tb_tp_fs; |