PluginProbe
WP-EMail / trunk
WP-EMail vtrunk
3.0.0 trunk 1.00 2.00b 2.01 2.02 2.03 2.04 2.04a 2.05 2.06 2.07 2.10 2.11 2.20 2.30 2.31 2.40 2.50 2.51 2.52 2.61 2.62 2.63 2.64 All 42 releases
wp-email / wp-email.php

wp-email.php in WP-EMail trunk, at wp-email.php

97 lines 3.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: WP-EMail
4 * Plugin URI: https://lesterchan.net/portfolio/programming/php/
5 * Description: Allows people to recommend/send your WordPress blog's post/page to a friend.
6 * Version: 3.0.0
7 * Requires at least: 6.8
8 * Requires PHP: 8.2
9 * Author: Lester 'GaMerZ' Chan
10 * Author URI: https://lesterchan.net
11 * License: GPLv2 or later
12 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
13 * Text Domain: wp-email
14 * Domain Path: /languages
15 *
16 * @package WP-EMail
17 */
18
19 /*
20 Copyright 2026 Lester Chan (email : lesterchan@gmail.com)
21
22 This program is free software; you can redistribute it and/or modify
23 it under the terms of the GNU General Public License as published by
24 the Free Software Foundation; either version 2 of the License, or
25 (at your option) any later version.
26
27 This program is distributed in the hope that it will be useful,
28 but WITHOUT ANY WARRANTY; without even the implied warranty of
29 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 GNU General Public License for more details.
31
32 You should have received a copy of the GNU General Public License
33 along with this program; if not, write to the Free Software
34 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
35 */
36
37 defined( 'ABSPATH' ) || exit;
38
39 /**
40 * WP-EMail version. The last-run value is kept in the wp_email_version row.
41 */
42 define( 'WP_EMAIL_VERSION', '3.0.0' );
43
44 /**
45 * Schema counter. Bumped only when the stored rows or the table need reshaping.
46 */
47 define( 'WP_EMAIL_DB_VERSION', '2' );
48
49 /**
50 * WP-EMail slug, which is also the text domain.
51 */
52 define( 'WP_EMAIL_SLUG', 'wp-email' );
53
54 /**
55 * WP-EMail main file.
56 */
57 define( 'WP_EMAIL_MAIN_FILE', __FILE__ );
58
59 /**
60 * WP-EMail directory, with a trailing slash.
61 */
62 define( 'WP_EMAIL_DIR', plugin_dir_path( __FILE__ ) );
63
64 /**
65 * WP-EMail URL, with a trailing slash.
66 */
67 define( 'WP_EMAIL_URL', plugin_dir_url( __FILE__ ) );
68
69 /**
70 * Whether the logs screen shows the sender's remarks.
71 *
72 * Guarded so it can be overridden from wp-config.php.
73 */
74 if ( ! defined( 'WP_EMAIL_SHOW_REMARKS' ) ) {
75 define( 'WP_EMAIL_SHOW_REMARKS', true );
76 }
77
78 /*
79 * Required at file load rather than from a hook: the activation hook, the
80 * template tags and the deprecated shims are all reached before any action
81 * fires.
82 */
83 require_once WP_EMAIL_DIR . 'includes/class-wp-email-options.php';
84 require_once WP_EMAIL_DIR . 'includes/class-wp-email-template.php';
85 require_once WP_EMAIL_DIR . 'includes/class-wp-email-logs.php';
86 require_once WP_EMAIL_DIR . 'includes/class-wp-email-captcha.php';
87 require_once WP_EMAIL_DIR . 'includes/class-wp-email-link.php';
88 require_once WP_EMAIL_DIR . 'includes/class-wp-email-form.php';
89 require_once WP_EMAIL_DIR . 'includes/class-wp-email-wpstats.php';
90 require_once WP_EMAIL_DIR . 'includes/class-wp-email-admin.php';
91 require_once WP_EMAIL_DIR . 'includes/class-wp-email-settings.php';
92 require_once WP_EMAIL_DIR . 'includes/class-wp-email.php';
93 require_once WP_EMAIL_DIR . 'includes/template-tags.php';
94 require_once WP_EMAIL_DIR . 'includes/deprecated.php';
95
96 WP_Email::get_instance();
97