-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplugin.php
32 lines (31 loc) · 1.23 KB
/
plugin.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
<?php
/**
* Plugin Name: SimpleUpdater
* Plugin URI: https://github.com/SimpleRain/SimpleUpdater
* Description: A simple wordpress options framework for developers.
* Version: 1.0.0
* Author: SimpleRain
* Author URI: http://simplerain.com
*
* This class will allow a developer to privately host a plugin on Github and roll updates
* simply by creating a new release.
*
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU
* General Public License version 3, as published by the Free Software Foundation. You may NOT assume
* that you can use any other version of the GPL.
*
* 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.
*
* @author Dovy Paukstys <[email protected]>
* @copyright Copyright (c) 2013, SimpleRain
* @link http://simplerain.com/
* @license http://www.gnu.org/licenses/gpl-3.0.txt
*/
if (file_exists( dirname( __FILE__ ) . '/SimpleUpdater.php') ) {
include_once( dirname( __FILE__ ) . '/SimpleUpdater.php' );
$Simple_Updater = new Simple_Updater( array(
'slug' => __FILE__,
'force_update' => false,
) );
}