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