PluginProbe ʕ •ᴥ•ʔ
All-in-One WP Migration and Backup / 7.99
All-in-One WP Migration and Backup v7.99
trunk 7.100 7.101 7.102 7.103 7.104 7.105 7.97 7.98 7.99
all-in-one-wp-migration / all-in-one-wp-migration.php
all-in-one-wp-migration Last commit date
lib 8 months ago LICENSE 12 years ago all-in-one-wp-migration.php 8 months ago changelog.txt 2 years ago constants.php 8 months ago deprecated.php 1 year ago exceptions.php 9 months ago functions.php 8 months ago loader.php 9 months ago readme.txt 8 months ago uninstall.php 11 months ago
all-in-one-wp-migration.php
77 lines
1 <?php
2 /**
3 * Plugin Name: All-in-One WP Migration and Backup
4 * Plugin URI: https://servmask.com/
5 * Description: All-in-One WP Migration makes moving your entire WordPress site simple. Export or import your database, media, plugins, and themes with just a few clicks.
6 * Author: ServMask
7 * Author URI: https://servmask.com/
8 * Version: 7.99
9 * Text Domain: all-in-one-wp-migration
10 * Domain Path: /languages
11 * Network: True
12 * License: GPLv3
13 *
14 * Copyright (C) 2014-2025 ServMask Inc.
15 *
16 * This program is free software: you can redistribute it and/or modify
17 * it under the terms of the GNU General Public License as published by
18 * the Free Software Foundation, either version 3 of the License, or
19 * (at your option) any later version.
20 *
21 * This program is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 * GNU General Public License for more details.
25 *
26 * You should have received a copy of the GNU General Public License
27 * along with this program. If not, see <http://www.gnu.org/licenses/>.
28 *
29 * Attribution: This code is part of the All-in-One WP Migration plugin, developed by
30 *
31 * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
32 * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
33 * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
34 * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
35 * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
36 * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
37 */
38
39 if ( ! defined( 'ABSPATH' ) ) {
40 die( 'Kangaroos cannot jump here' );
41 }
42
43 // Check SSL mode
44 if ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) && ( $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https' ) ) {
45 $_SERVER['HTTPS'] = 'on';
46 }
47
48 // Plugin basename
49 define( 'AI1WM_PLUGIN_BASENAME', basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ) );
50
51 // Plugin path
52 define( 'AI1WM_PATH', dirname( __FILE__ ) );
53
54 // Plugin URL
55 define( 'AI1WM_URL', plugins_url( '', AI1WM_PLUGIN_BASENAME ) );
56
57 // Plugin storage URL
58 define( 'AI1WM_STORAGE_URL', plugins_url( 'storage', AI1WM_PLUGIN_BASENAME ) );
59
60 // Include constants
61 require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'constants.php';
62
63 // Include deprecated
64 require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'deprecated.php';
65
66 // Include functions
67 require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'functions.php';
68
69 // Include exceptions
70 require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'exceptions.php';
71
72 // Include loader
73 require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'loader.php';
74
75 // Plugin initialization
76 $main_controller = new Ai1wm_Main_Controller();
77