forked from krafit/wp-gitlab-updater
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwp-gitlab-updater.php
More file actions
39 lines (34 loc) · 1.04 KB
/
Copy pathwp-gitlab-updater.php
File metadata and controls
39 lines (34 loc) · 1.04 KB
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
<?php
/**
* Lib for updating themes and plugins from private GitLab repos.
*
* @package Moenus\GitLabUpdater
* @author Florian Brinkmann
* @license GPL-2.0+
* @link https://florianbrinkmann.com/en/
* @copyright 2017 Florian Brinkmann
*/
/**
* Plugin Name: GitLab updater
* Plugin URI: https://github.com/Moenus/wp-gitlab-updater
* Description: Plugin for updating themes and plugins from private GitLab repos.
* Version: 2.0.2
* Author: Florian Brinkmann
* Author URI: https://florianbrinkmann.com/en/
* License: GPL-2.0+
* Network: true
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* GitHub Plugin URI: Moenus/wp-gitlab-updater
*/
namespace Moenus\GitLabUpdater;
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
// Include classes.
require_once 'src/updater-base.php';
require_once 'src/settings.php';
require_once 'src/plugin-updater.php';
require_once 'src/theme-updater.php';
// Init plugin.
new UpdaterBase();