| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * The main plugin file for Posts Table with Search & Sort. |
| 4 | 4 | * |
| 5 | 5 | * @package Barn2\posts-table-search-sort |
| 6 | - * @author Barn2 Plugins <support@barn2.co.uk> | |
| 6 | + * @author Barn2 Plugins <support@barn2.com> | |
| 7 | 7 | * @license GPL-3.0 |
| 8 | 8 | * @copyright Barn2 Media Ltd |
| 9 | 9 | * |
| 10 | 10 | * @wordpress-plugin |
| @@ -10,34 +10,42 @@ | ||
| 10 | 10 | * @wordpress-plugin |
| 11 | 11 | * Plugin Name: Posts Table with Search & Sort |
| 12 | 12 | * Plugin URI: https://wordpress.org/plugins/posts-data-table/ |
| 13 | 13 | * Description: List your posts in an instantly searchable & sortable table. |
| 14 | - * Version: 1.3.5 | |
| 14 | + * Version: 1.4.13 | |
| 15 | 15 | * Author: Barn2 Plugins |
| 16 | - * Author URI: https://barn2.co.uk | |
| 16 | + * Author URI: https://barn2.com | |
| 17 | 17 | * Text Domain: posts-data-table |
| 18 | 18 | * Domain Path: /languages |
| 19 | 19 | * |
| 20 | + * Requires at least: 6.1 | |
| 21 | + * Requires PHP: 7.4 | |
| 22 | + * | |
| 20 | 23 | * Copyright: Barn2 Media Ltd |
| 21 | 24 | * License: GNU General Public License v3.0 |
| 22 | 25 | * License URI: https://www.gnu.org/licenses/gpl.html |
| 23 | 26 | */ |
| 27 | + | |
| 24 | 28 | namespace Barn2\Plugin\Posts_Table_Search_Sort; |
| 25 | 29 | |
| 26 | 30 | // Prevent direct file access |
| 27 | 31 | if ( ! defined( '\ABSPATH' ) ) { |
| 28 | - exit; | |
| 32 | + exit; | |
| 29 | 33 | } |
| 30 | 34 | |
| 31 | -const PLUGIN_VERSION = '1.3.5'; | |
| 35 | +const PLUGIN_VERSION = '1.4.13'; | |
| 32 | 36 | const PLUGIN_FILE = __FILE__; |
| 33 | 37 | |
| 34 | 38 | // Autoloader. |
| 35 | 39 | require_once __DIR__ . '/vendor/autoload.php'; |
| 36 | 40 | |
| 37 | -// Helper function to access the shared plugin instance. | |
| 41 | +/** | |
| 42 | + * Helper function to access the shared plugin instance. | |
| 43 | + * | |
| 44 | + * @return Plugin | |
| 45 | + */ | |
| 38 | 46 | function posts_table_search_sort() { |
| 39 | - return Plugin_Factory::create( PLUGIN_FILE, PLUGIN_VERSION ); | |
| 47 | + return Plugin_Factory::create( PLUGIN_FILE, PLUGIN_VERSION ); | |
| 40 | 48 | } |
| 41 | 49 | |
| 42 | 50 | // Load the plugin. |
| 43 | 51 | posts_table_search_sort()->register(); |