-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwisps.php
More file actions
30 lines (25 loc) · 721 Bytes
/
wisps.php
File metadata and controls
30 lines (25 loc) · 721 Bytes
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
<?php
/**
* Plugin Name: Wisps
* Plugin URI: https://github.com/emrikol/wisps
* Description: Wisps are Gist-like code posts for WordPress
* Version: 2.0.0
* Author: Derrick Tennant
* Author URI: https://derrick.blog/
* GitHub Plugin URI: https://github.com/emrikol/wisps
* Text Domain: wisps
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*
* @package Wisps
*/
if ( ! defined( 'ABSPATH' ) ) {
return;
}
// PHP 5.6 Shim.
if ( ! defined( 'PHP_INT_MIN' ) ) {
define( 'PHP_INT_MIN', -9223372036854775808 );
}
require __DIR__ . '/inc/class-wisps.php';
register_activation_hook( __FILE__, array( Wisps::get_instance(), 'activate_plugin' ) );
Wisps::get_instance()->init_hooks();