-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathlocal-development.php
More file actions
45 lines (41 loc) · 1.32 KB
/
Copy pathlocal-development.php
File metadata and controls
45 lines (41 loc) · 1.32 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
40
41
42
43
44
45
<?php
/**
* Local Development
*
* @package local-development
* @author Andy Fragen <andy@thefragens.com>
* @license GPLv2
* @link https://github.com/afragen/local-development
*/
/**
* Plugin Name: Local Development
* Plugin URI: https://wordpress.org/plugins/local-development
* Author: Andy Fragen
* Author URI: http://thefragens.com/
* Description: Places development notice for plugins or themes that are in local development. Prevents updating of selected plugins and themes. Automatically adds plugins and themes under version control. Allows for using a local file server and bypassing the WordPress 5.2 WSOD Shutdown Handler.
* Version: 2.11.1
* Domain Path: /languages
* Text Domain: local-development
* License: GNU General Public License v2
* License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
* Network: true
* GitHub Plugin URI: https://github.com/afragen/local-development
* Requires PHP: 7.4
* Requires at least: 5.4
*/
namespace Fragen\Local_Development;
/*
* Exit if called directly.
* PHP version check and exit.
*/
if ( ! defined( 'WPINC' ) ) {
die;
}
// Load Autoloader.
require_once __DIR__ . '/vendor/autoload.php';
add_action(
'init',
function () {
( new Bootstrap() )->run( __FILE__ );
}
);