| 1 |
<?php |
| 2 |
/* |
| 3 |
Plugin Name: Zone Manager (Zoninator) |
| 4 |
Description: Curation made easy! Create "zones" then add and order your content! |
| 5 |
Author: Mohammad Jangda, Automattic |
| 6 |
Version: 0.11.0 |
| 7 |
Author URI: https://wpvip.com |
| 8 |
Requires at least: 6.4 |
| 9 |
Requires PHP: 7.4 |
| 10 |
Text Domain: zoninator |
| 11 |
Domain Path: /languages/ |
| 12 |
|
| 13 |
Copyright 2010-2025 Mohammad Jangda, Automattic |
| 14 |
|
| 15 |
This plugin was built by Mohammad Jangda in conjunction with William Davis and the Bangor Daily News. |
| 16 |
|
| 17 |
GNU General Public License, Free Software Foundation <http://creativecommons.org/licenses/GPL/2.0/> |
| 18 |
|
| 19 |
This program is free software; you can redistribute it and/or modify |
| 20 |
it under the terms of the GNU General Public License as published by |
| 21 |
the Free Software Foundation; either version 2 of the License, or |
| 22 |
(at your option) any later version. |
| 23 |
|
| 24 |
This program is distributed in the hope that it will be useful, |
| 25 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 26 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 27 |
GNU General Public License for more details. |
| 28 |
|
| 29 |
You should have received a copy of the GNU General Public License |
| 30 |
along with this program; if not, write to the Free Software |
| 31 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 32 |
|
| 33 |
*/ |
| 34 |
|
| 35 |
define( 'ZONINATOR_VERSION', '0.11.0' ); |
| 36 |
define( 'ZONINATOR_FILE', __FILE__ ); |
| 37 |
|
| 38 |
require_once __DIR__ . '/functions.php'; |
| 39 |
require_once __DIR__ . '/src/class-zoninator-zoneposts-widget.php'; |
| 40 |
require_once __DIR__ . '/src/class-zoninator.php'; |
| 41 |
|
| 42 |
function Zoninator() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid, Universal.Files.SeparateFunctionsFromOO.Mixed -- Windows is case-sensitive, so changing this is a breaking change. |
| 43 |
global $zoninator; |
| 44 |
if ( ! isset( $zoninator ) || null === $zoninator ) { |
| 45 |
$zoninator = new Zoninator(); |
| 46 |
} |
| 47 |
|
| 48 |
return $zoninator; |
| 49 |
} |
| 50 |
|
| 51 |
Zoninator(); |
| 52 |
|