-
Notifications
You must be signed in to change notification settings - Fork 0
/
postmatic.php
48 lines (41 loc) · 1.85 KB
/
postmatic.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
<?php
/*
Plugin Name: Postmatic - WordPress Subscriptions & Commenting by Email
Description:
Version: 2.0.0-beta5
License: GPL2+
Author: Postmatic
Author URI: http://gopostmatic.com/
Text Domain: Postmatic
Domain Path: /lang
Minimum WordPress Version Required: 3.9
*/
/*
Copyright (c) 2016 Transitive, Inc
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.
*/
if ( class_exists( 'Prompt_Core' ) ) {
// Allow others to use Prompt as a dependency
return;
}
require_once dirname( __FILE__ ) . '/vendor/scribu/scb-framework/load.php';
require_once dirname( __FILE__ ) . '/core/autoload.php';
Prompt_Autoload::register( 'Prompt_', dirname( __FILE__ ) . '/core' );
Prompt_Autoload::register( 'Prompt_', dirname( __FILE__ ) . '/core/commands', '_Command' );
Prompt_Autoload::register( 'Prompt_', dirname( __FILE__ ) . '/core/mailers', '_Mailer' );
Prompt_Autoload::register( 'Prompt_', dirname( __FILE__ ) . '/core/email-batches', '_Email_Batch' );
Prompt_Autoload::register( 'Prompt_', dirname( __FILE__ ) . '/core/matchers', '_Matcher' );
Prompt_Autoload::register( 'Prompt_', dirname( __FILE__ ) . '/core/post-rendering-modifiers', '_Post_Rendering_Modifier' );
Prompt_Autoload::register( 'Prompt_Interface_', dirname( __FILE__ ) . '/interfaces' );
Prompt_Autoload::register( 'Prompt_Admin_', dirname( __FILE__ ) . '/admin' );
Prompt_Autoload::register( 'Prompt_Enum_', dirname( __FILE__ ) . '/enums' );
Prompt_Core::load();