simple-page-ordering
Last commit date
10up-lib
2 years ago
dist
1 month ago
class-simple-page-ordering.php
1 month ago
readme.txt
1 month ago
simple-page-ordering.php
1 month ago
simple-page-ordering.php
35 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Plugin Name: Simple Page Ordering |
| 4 | * Plugin URI: http://10up.com/plugins/simple-page-ordering-wordpress/ |
| 5 | * Description: Order your pages and hierarchical post types using drag and drop on the built in page list. For further instructions, open the "Help" tab on the Pages screen. |
| 6 | * Version: 2.8.0 |
| 7 | * Requires at least: 6.8 |
| 8 | * Requires PHP: 7.4 |
| 9 | * Author: 10up |
| 10 | * Author URI: https://10up.com |
| 11 | * License: GPLv2 or later |
| 12 | * License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| 13 | * Text Domain: simple-page-ordering |
| 14 | * |
| 15 | * @package simple-page-ordering |
| 16 | */ |
| 17 | |
| 18 | if ( ! is_readable( __DIR__ . '/10up-lib/wp-compat-validation-tool/src/Validator.php' ) ) { |
| 19 | return; |
| 20 | } |
| 21 | |
| 22 | // Useful global constants. |
| 23 | require_once '10up-lib/wp-compat-validation-tool/src/Validator.php'; |
| 24 | |
| 25 | $compat_checker = new \Simple_Page_Ordering_Validator\Validator(); |
| 26 | $compat_checker |
| 27 | ->set_plugin_name( 'Simple Page Ordering' ) |
| 28 | ->set_php_min_required_version( '7.4' ); |
| 29 | |
| 30 | if ( ! $compat_checker->is_plugin_compatible() ) { |
| 31 | return; |
| 32 | } |
| 33 | |
| 34 | require_once 'class-simple-page-ordering.php'; |
| 35 |