all-in-one-wp-migration
Last commit date
lib
10 months ago
LICENSE
12 years ago
all-in-one-wp-migration.php
10 months ago
changelog.txt
2 years ago
constants.php
10 months ago
deprecated.php
1 year ago
exceptions.php
1 year ago
functions.php
1 year ago
loader.php
1 year ago
readme.txt
10 months ago
uninstall.php
11 months ago
constants.php
1533 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Copyright (C) 2014-2025 ServMask Inc. |
| 4 | * |
| 5 | * This program is free software: you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation, either version 3 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | * |
| 18 | * Attribution: This code is part of the All-in-One WP Migration plugin, developed by |
| 19 | * |
| 20 | * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗ |
| 21 | * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝ |
| 22 | * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝ |
| 23 | * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗ |
| 24 | * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗ |
| 25 | * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ |
| 26 | */ |
| 27 | |
| 28 | if ( ! defined( 'ABSPATH' ) ) { |
| 29 | die( 'Kangaroos cannot jump here' ); |
| 30 | } |
| 31 | |
| 32 | // ================ |
| 33 | // = Plugin Debug = |
| 34 | // ================ |
| 35 | define( 'AI1WM_DEBUG', false ); |
| 36 | |
| 37 | // ================== |
| 38 | // = Plugin Version = |
| 39 | // ================== |
| 40 | define( 'AI1WM_VERSION', '7.97' ); |
| 41 | |
| 42 | // =============== |
| 43 | // = Plugin Name = |
| 44 | // =============== |
| 45 | define( 'AI1WM_PLUGIN_NAME', 'all-in-one-wp-migration' ); |
| 46 | |
| 47 | // ================ |
| 48 | // = Storage Path = |
| 49 | // ================ |
| 50 | define( 'AI1WM_STORAGE_PATH', AI1WM_PATH . DIRECTORY_SEPARATOR . 'storage' ); |
| 51 | |
| 52 | // ================== |
| 53 | // = Error Log Path = |
| 54 | // ================== |
| 55 | define( 'AI1WM_ERROR_FILE', AI1WM_STORAGE_PATH . DIRECTORY_SEPARATOR . 'error.log' ); |
| 56 | |
| 57 | // =============== |
| 58 | // = Status Path = |
| 59 | // =============== |
| 60 | define( 'AI1WM_STATUS_FILE', AI1WM_STORAGE_PATH . DIRECTORY_SEPARATOR . 'status.js' ); |
| 61 | |
| 62 | // ============ |
| 63 | // = Lib Path = |
| 64 | // ============ |
| 65 | define( 'AI1WM_LIB_PATH', AI1WM_PATH . DIRECTORY_SEPARATOR . 'lib' ); |
| 66 | |
| 67 | // =================== |
| 68 | // = Controller Path = |
| 69 | // =================== |
| 70 | define( 'AI1WM_CONTROLLER_PATH', AI1WM_LIB_PATH . DIRECTORY_SEPARATOR . 'controller' ); |
| 71 | |
| 72 | // ============== |
| 73 | // = Model Path = |
| 74 | // ============== |
| 75 | define( 'AI1WM_MODEL_PATH', AI1WM_LIB_PATH . DIRECTORY_SEPARATOR . 'model' ); |
| 76 | |
| 77 | // =============== |
| 78 | // = Export Path = |
| 79 | // =============== |
| 80 | define( 'AI1WM_EXPORT_PATH', AI1WM_MODEL_PATH . DIRECTORY_SEPARATOR . 'export' ); |
| 81 | |
| 82 | // =============== |
| 83 | // = Import Path = |
| 84 | // =============== |
| 85 | define( 'AI1WM_IMPORT_PATH', AI1WM_MODEL_PATH . DIRECTORY_SEPARATOR . 'import' ); |
| 86 | |
| 87 | // ============= |
| 88 | // = View Path = |
| 89 | // ============= |
| 90 | define( 'AI1WM_TEMPLATES_PATH', AI1WM_LIB_PATH . DIRECTORY_SEPARATOR . 'view' ); |
| 91 | |
| 92 | // =================== |
| 93 | // = Set Bandar Path = |
| 94 | // =================== |
| 95 | define( 'BANDAR_TEMPLATES_PATH', AI1WM_TEMPLATES_PATH ); |
| 96 | |
| 97 | // =============== |
| 98 | // = Vendor Path = |
| 99 | // =============== |
| 100 | define( 'AI1WM_VENDOR_PATH', AI1WM_LIB_PATH . DIRECTORY_SEPARATOR . 'vendor' ); |
| 101 | |
| 102 | // ========================= |
| 103 | // = ServMask Feedback URL = |
| 104 | // ========================= |
| 105 | define( 'AI1WM_FEEDBACK_URL', 'https://servmask.com/ai1wm/feedback/create' ); |
| 106 | |
| 107 | // ============================== |
| 108 | // = ServMask Archive Tools URL = |
| 109 | // ============================== |
| 110 | define( 'AI1WM_ARCHIVE_TOOLS_URL', 'https://servmask.com/archive/tools' ); |
| 111 | |
| 112 | // ========================= |
| 113 | // = ServMask Table Prefix = |
| 114 | // ========================= |
| 115 | define( 'AI1WM_TABLE_PREFIX', 'SERVMASK_PREFIX_' ); |
| 116 | |
| 117 | // ======================== |
| 118 | // = Archive Backups Name = |
| 119 | // ======================== |
| 120 | define( 'AI1WM_BACKUPS_NAME', 'ai1wm-backups' ); |
| 121 | |
| 122 | // ========================= |
| 123 | // = Archive Database Name = |
| 124 | // ========================= |
| 125 | define( 'AI1WM_DATABASE_NAME', 'database.sql' ); |
| 126 | |
| 127 | // ======================== |
| 128 | // = Archive Package Name = |
| 129 | // ======================== |
| 130 | define( 'AI1WM_PACKAGE_NAME', 'package.json' ); |
| 131 | |
| 132 | // ========================== |
| 133 | // = Archive Multisite Name = |
| 134 | // ========================== |
| 135 | define( 'AI1WM_MULTISITE_NAME', 'multisite.json' ); |
| 136 | |
| 137 | // ====================== |
| 138 | // = Archive Blogs Name = |
| 139 | // ====================== |
| 140 | define( 'AI1WM_BLOGS_NAME', 'blogs.json' ); |
| 141 | |
| 142 | // ========================= |
| 143 | // = Archive Settings Name = |
| 144 | // ========================= |
| 145 | define( 'AI1WM_SETTINGS_NAME', 'settings.json' ); |
| 146 | |
| 147 | // ========================== |
| 148 | // = Archive Multipart Name = |
| 149 | // ========================== |
| 150 | define( 'AI1WM_MULTIPART_NAME', 'multipart.list' ); |
| 151 | |
| 152 | // ============================= |
| 153 | // = Archive Content List Name = |
| 154 | // ============================= |
| 155 | define( 'AI1WM_CONTENT_LIST_NAME', 'content.list' ); |
| 156 | |
| 157 | // =========================== |
| 158 | // = Archive Media List Name = |
| 159 | // =========================== |
| 160 | define( 'AI1WM_MEDIA_LIST_NAME', 'media.list' ); |
| 161 | |
| 162 | // ============================= |
| 163 | // = Archive Plugins List Name = |
| 164 | // ============================= |
| 165 | define( 'AI1WM_PLUGINS_LIST_NAME', 'plugins.list' ); |
| 166 | |
| 167 | // ============================ |
| 168 | // = Archive Themes List Name = |
| 169 | // ============================ |
| 170 | define( 'AI1WM_THEMES_LIST_NAME', 'themes.list' ); |
| 171 | |
| 172 | // ============================ |
| 173 | // = Archive Tables List Name = |
| 174 | // ============================ |
| 175 | define( 'AI1WM_TABLES_LIST_NAME', 'tables.list' ); |
| 176 | |
| 177 | // ================================= |
| 178 | // = Incremental Content List Name = |
| 179 | // ================================= |
| 180 | define( 'AI1WM_INCREMENTAL_CONTENT_LIST_NAME', 'incremental.content.list' ); |
| 181 | |
| 182 | // =============================== |
| 183 | // = Incremental Media List Name = |
| 184 | // =============================== |
| 185 | define( 'AI1WM_INCREMENTAL_MEDIA_LIST_NAME', 'incremental.media.list' ); |
| 186 | |
| 187 | // ================================= |
| 188 | // = Incremental Plugins List Name = |
| 189 | // ================================= |
| 190 | define( 'AI1WM_INCREMENTAL_PLUGINS_LIST_NAME', 'incremental.plugins.list' ); |
| 191 | |
| 192 | // ================================ |
| 193 | // = Incremental Themes List Name = |
| 194 | // ================================ |
| 195 | define( 'AI1WM_INCREMENTAL_THEMES_LIST_NAME', 'incremental.themes.list' ); |
| 196 | |
| 197 | // ================================= |
| 198 | // = Incremental Backups List Name = |
| 199 | // ================================= |
| 200 | define( 'AI1WM_INCREMENTAL_BACKUPS_LIST_NAME', 'incremental.backups.list' ); |
| 201 | |
| 202 | // ============================= |
| 203 | // = Archive Cookies Text Name = |
| 204 | // ============================= |
| 205 | define( 'AI1WM_COOKIES_NAME', 'cookies.txt' ); |
| 206 | |
| 207 | // ================================= |
| 208 | // = Archive Must-Use Plugins Name = |
| 209 | // ================================= |
| 210 | define( 'AI1WM_MUPLUGINS_NAME', 'mu-plugins' ); |
| 211 | |
| 212 | // ======================== |
| 213 | // = Less Cache Extension = |
| 214 | // ======================== |
| 215 | define( 'AI1WM_LESS_CACHE_EXTENSION', '.less.cache' ); |
| 216 | |
| 217 | // ============================= |
| 218 | // = SQLite Database Extension = |
| 219 | // ============================= |
| 220 | define( 'AI1WM_SQLITE_DATABASE_EXTENSION', '.sqlite' ); |
| 221 | |
| 222 | // ============================ |
| 223 | // = Elementor CSS Cache Name = |
| 224 | // ============================ |
| 225 | define( 'AI1WM_ELEMENTOR_CSS_NAME', 'uploads' . DIRECTORY_SEPARATOR . 'elementor' . DIRECTORY_SEPARATOR . 'css' ); |
| 226 | |
| 227 | // ======================== |
| 228 | // = CiviCRM Uploads Name = |
| 229 | // ======================== |
| 230 | define( 'AI1WM_CIVICRM_UPLOADS_NAME', 'uploads' . DIRECTORY_SEPARATOR . 'civicrm' ); |
| 231 | |
| 232 | // ========================= |
| 233 | // = Themes Functions Name = |
| 234 | // ========================= |
| 235 | define( 'AI1WM_THEMES_FUNCTIONS_NAME', 'themes' . DIRECTORY_SEPARATOR . 'functions.php' ); |
| 236 | |
| 237 | // ============================= |
| 238 | // = Endurance Page Cache Name = |
| 239 | // ============================= |
| 240 | define( 'AI1WM_ENDURANCE_PAGE_CACHE_NAME', 'endurance-page-cache.php' ); |
| 241 | |
| 242 | // =========================== |
| 243 | // = Endurance PHP Edge Name = |
| 244 | // =========================== |
| 245 | define( 'AI1WM_ENDURANCE_PHP_EDGE_NAME', 'endurance-php-edge.php' ); |
| 246 | |
| 247 | // ================================ |
| 248 | // = Endurance Browser Cache Name = |
| 249 | // ================================ |
| 250 | define( 'AI1WM_ENDURANCE_BROWSER_CACHE_NAME', 'endurance-browser-cache.php' ); |
| 251 | |
| 252 | // ========================= |
| 253 | // = GD System Plugin Name = |
| 254 | // ========================= |
| 255 | define( 'AI1WM_GD_SYSTEM_PLUGIN_NAME', 'gd-system-plugin.php' ); |
| 256 | |
| 257 | // ======================= |
| 258 | // = WP Stack Cache Name = |
| 259 | // ======================= |
| 260 | define( 'AI1WM_WP_STACK_CACHE_NAME', 'wp-stack-cache.php' ); |
| 261 | |
| 262 | // =========================== |
| 263 | // = WP.com Site Loader Name = |
| 264 | // =========================== |
| 265 | define( 'AI1WM_WP_COMSH_LOADER_NAME', 'wpcomsh-loader.php' ); |
| 266 | |
| 267 | // =========================== |
| 268 | // = WP.com Site Helper Name = |
| 269 | // =========================== |
| 270 | define( 'AI1WM_WP_COMSH_HELPER_NAME', 'wpcomsh' ); |
| 271 | |
| 272 | // ==================================== |
| 273 | // = SQLite Database Integration Name = |
| 274 | // ==================================== |
| 275 | define( 'AI1WM_SQLITE_DATABASE_INTEGRATION_NAME', 'sqlite-database-integration' ); |
| 276 | |
| 277 | // ============================= |
| 278 | // = SQLite Database Zero Name = |
| 279 | // ============================= |
| 280 | define( 'AI1WM_SQLITE_DATABASE_ZERO_NAME', '0-sqlite.php' ); |
| 281 | |
| 282 | // ================================ |
| 283 | // = WP Engine System Plugin Name = |
| 284 | // ================================ |
| 285 | define( 'AI1WM_WP_ENGINE_SYSTEM_PLUGIN_NAME', 'mu-plugin.php' ); |
| 286 | |
| 287 | // =========================== |
| 288 | // = WPE Sign On Plugin Name = |
| 289 | // =========================== |
| 290 | define( 'AI1WM_WPE_SIGN_ON_PLUGIN_NAME', 'wpe-wp-sign-on-plugin.php' ); |
| 291 | |
| 292 | // =================================== |
| 293 | // = WP Engine Security Auditor Name = |
| 294 | // =================================== |
| 295 | define( 'AI1WM_WP_ENGINE_SECURITY_AUDITOR_NAME', 'wpengine-security-auditor.php' ); |
| 296 | |
| 297 | // =========================== |
| 298 | // = WP Cerber Security Name = |
| 299 | // =========================== |
| 300 | define( 'AI1WM_WP_CERBER_SECURITY_NAME', 'aaa-wp-cerber.php' ); |
| 301 | |
| 302 | // =============================== |
| 303 | // = W3TC config file to exclude = |
| 304 | // =============================== |
| 305 | define( 'AI1WM_W3TC_CONFIG_FILE', 'w3tc-config' . DIRECTORY_SEPARATOR . 'master.php' ); |
| 306 | |
| 307 | // ================== |
| 308 | // = Error Log Name = |
| 309 | // ================== |
| 310 | define( 'AI1WM_ERROR_NAME', 'error-log-%s.log' ); |
| 311 | |
| 312 | // ============== |
| 313 | // = Secret Key = |
| 314 | // ============== |
| 315 | define( 'AI1WM_SECRET_KEY', 'ai1wm_secret_key' ); |
| 316 | |
| 317 | // ============= |
| 318 | // = Auth User = |
| 319 | // ============= |
| 320 | define( 'AI1WM_AUTH_USER', 'ai1wm_auth_user' ); |
| 321 | |
| 322 | // ================= |
| 323 | // = Auth Password = |
| 324 | // ================= |
| 325 | define( 'AI1WM_AUTH_PASSWORD', 'ai1wm_auth_password' ); |
| 326 | |
| 327 | // =============== |
| 328 | // = Auth Header = |
| 329 | // =============== |
| 330 | define( 'AI1WM_AUTH_HEADER', 'ai1wm_auth_header' ); |
| 331 | |
| 332 | // ============ |
| 333 | // = Site URL = |
| 334 | // ============ |
| 335 | define( 'AI1WM_SITE_URL', 'siteurl' ); |
| 336 | |
| 337 | // ============ |
| 338 | // = Home URL = |
| 339 | // ============ |
| 340 | define( 'AI1WM_HOME_URL', 'home' ); |
| 341 | |
| 342 | // ================ |
| 343 | // = Uploads Path = |
| 344 | // ================ |
| 345 | define( 'AI1WM_UPLOADS_PATH', 'upload_path' ); |
| 346 | |
| 347 | // ==================== |
| 348 | // = Uploads URL Path = |
| 349 | // ==================== |
| 350 | define( 'AI1WM_UPLOADS_URL_PATH', 'upload_url_path' ); |
| 351 | |
| 352 | // ================== |
| 353 | // = Active Plugins = |
| 354 | // ================== |
| 355 | define( 'AI1WM_ACTIVE_PLUGINS', 'active_plugins' ); |
| 356 | |
| 357 | // =========================== |
| 358 | // = Active Sitewide Plugins = |
| 359 | // =========================== |
| 360 | define( 'AI1WM_ACTIVE_SITEWIDE_PLUGINS', 'active_sitewide_plugins' ); |
| 361 | |
| 362 | // ========================== |
| 363 | // = Jetpack Active Modules = |
| 364 | // ========================== |
| 365 | define( 'AI1WM_JETPACK_ACTIVE_MODULES', 'jetpack_active_modules' ); |
| 366 | |
| 367 | // ==================================== |
| 368 | // = Swift Optimizer Plugin Organizer = |
| 369 | // ==================================== |
| 370 | define( 'AI1WM_SWIFT_OPTIMIZER_PLUGIN_ORGANIZER', 'swift_performance_plugin_organizer' ); |
| 371 | |
| 372 | // ====================== |
| 373 | // = MS Files Rewriting = |
| 374 | // ====================== |
| 375 | define( 'AI1WM_MS_FILES_REWRITING', 'ms_files_rewriting' ); |
| 376 | |
| 377 | // =================== |
| 378 | // = Active Template = |
| 379 | // =================== |
| 380 | define( 'AI1WM_ACTIVE_TEMPLATE', 'template' ); |
| 381 | |
| 382 | // ===================== |
| 383 | // = Active Stylesheet = |
| 384 | // ===================== |
| 385 | define( 'AI1WM_ACTIVE_STYLESHEET', 'stylesheet' ); |
| 386 | |
| 387 | // ============== |
| 388 | // = DB Version = |
| 389 | // ============== |
| 390 | define( 'AI1WM_DB_VERSION', 'db_version' ); |
| 391 | |
| 392 | // ====================== |
| 393 | // = Initial DB Version = |
| 394 | // ====================== |
| 395 | define( 'AI1WM_INITIAL_DB_VERSION', 'initial_db_version' ); |
| 396 | |
| 397 | // ============ |
| 398 | // = Cron Key = |
| 399 | // ============ |
| 400 | define( 'AI1WM_CRON', 'cron' ); |
| 401 | |
| 402 | // ======================= |
| 403 | // = Backups Path Option = |
| 404 | // ======================= |
| 405 | define( 'AI1WM_BACKUPS_PATH_OPTION', 'ai1wm_backups_path' ); |
| 406 | |
| 407 | // =================== |
| 408 | // = Backups Labels = |
| 409 | // =================== |
| 410 | define( 'AI1WM_BACKUPS_LABELS', 'ai1wm_backups_labels' ); |
| 411 | |
| 412 | // =============== |
| 413 | // = Sites Links = |
| 414 | // =============== |
| 415 | define( 'AI1WM_SITES_LINKS', 'ai1wm_sites_links' ); |
| 416 | |
| 417 | // ============================== |
| 418 | // = Last Check For Updates Key = |
| 419 | // ============================== |
| 420 | define( 'AI1WM_LAST_CHECK_FOR_UPDATES', 'ai1wm_last_check_for_updates' ); |
| 421 | |
| 422 | // =============== |
| 423 | // = Updater Key = |
| 424 | // =============== |
| 425 | define( 'AI1WM_UPDATER', 'ai1wm_updater' ); |
| 426 | |
| 427 | // ============== |
| 428 | // = Status Key = |
| 429 | // ============== |
| 430 | define( 'AI1WM_STATUS', 'ai1wm_status' ); |
| 431 | |
| 432 | // ================ |
| 433 | // = Messages Key = |
| 434 | // ================ |
| 435 | define( 'AI1WM_MESSAGES', 'ai1wm_messages' ); |
| 436 | |
| 437 | // ================= |
| 438 | // = Support Email = |
| 439 | // ================= |
| 440 | define( 'AI1WM_SUPPORT_EMAIL', 'support@servmask.com' ); |
| 441 | |
| 442 | // ================== |
| 443 | // = Max Chunk Size = |
| 444 | // ================== |
| 445 | define( 'AI1WM_MAX_CHUNK_SIZE', 5 * 1024 * 1024 ); |
| 446 | |
| 447 | // ===================== |
| 448 | // = Max Chunk Retries = |
| 449 | // ===================== |
| 450 | define( 'AI1WM_MAX_CHUNK_RETRIES', 10 ); |
| 451 | |
| 452 | // =============== |
| 453 | // = CIPHER NAME = |
| 454 | // =============== |
| 455 | define( 'AI1WM_CIPHER_NAME', 'AES-256-CBC' ); |
| 456 | |
| 457 | // ============= |
| 458 | // = SIGN TEXT = |
| 459 | // ============= |
| 460 | define( 'AI1WM_SIGN_TEXT', '"How long do you want these messages to remain secret? I want them to remain secret for as long as men are capable of evil." - Neal Stephenson' ); |
| 461 | |
| 462 | // =========================== |
| 463 | // = Max Transaction Queries = |
| 464 | // =========================== |
| 465 | if ( ! defined( 'AI1WM_MAX_TRANSACTION_QUERIES' ) ) { |
| 466 | define( 'AI1WM_MAX_TRANSACTION_QUERIES', 1000 ); |
| 467 | } |
| 468 | |
| 469 | // ====================== |
| 470 | // = Max Select Records = |
| 471 | // ====================== |
| 472 | if ( ! defined( 'AI1WM_MAX_SELECT_RECORDS' ) ) { |
| 473 | define( 'AI1WM_MAX_SELECT_RECORDS', 1000 ); |
| 474 | } |
| 475 | |
| 476 | // ======================= |
| 477 | // = Max Storage Cleanup = |
| 478 | // ======================= |
| 479 | define( 'AI1WM_MAX_STORAGE_CLEANUP', 24 * 60 * 60 ); |
| 480 | |
| 481 | // =================== |
| 482 | // = Max Log Cleanup = |
| 483 | // =================== |
| 484 | define( 'AI1WM_MAX_LOG_CLEANUP', 7 * 24 * 60 * 60 ); |
| 485 | |
| 486 | // ===================== |
| 487 | // = Disk Space Factor = |
| 488 | // ===================== |
| 489 | define( 'AI1WM_DISK_SPACE_FACTOR', 2 ); |
| 490 | |
| 491 | // ==================== |
| 492 | // = Disk Space Extra = |
| 493 | //===================== |
| 494 | define( 'AI1WM_DISK_SPACE_EXTRA', 300 * 1024 * 1024 ); |
| 495 | |
| 496 | // =========================== |
| 497 | // = WP_CONTENT_DIR Constant = |
| 498 | // =========================== |
| 499 | if ( ! defined( 'WP_CONTENT_DIR' ) ) { |
| 500 | define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' ); |
| 501 | } |
| 502 | |
| 503 | // ======================== |
| 504 | // = Backups Default Path = |
| 505 | // ======================== |
| 506 | if ( ! defined( 'AI1WM_DEFAULT_BACKUPS_PATH' ) ) { |
| 507 | define( 'AI1WM_DEFAULT_BACKUPS_PATH', WP_CONTENT_DIR . DIRECTORY_SEPARATOR . 'ai1wm-backups' ); |
| 508 | } |
| 509 | |
| 510 | // ================ |
| 511 | // = Backups Path = |
| 512 | // ================ |
| 513 | define( 'AI1WM_BACKUPS_PATH', get_option( AI1WM_BACKUPS_PATH_OPTION, AI1WM_DEFAULT_BACKUPS_PATH ) ); |
| 514 | |
| 515 | // ========================== |
| 516 | // = Storage index.php File = |
| 517 | // ========================== |
| 518 | define( 'AI1WM_STORAGE_INDEX_PHP', AI1WM_STORAGE_PATH . DIRECTORY_SEPARATOR . 'index.php' ); |
| 519 | |
| 520 | // =========================== |
| 521 | // = Storage index.html File = |
| 522 | // =========================== |
| 523 | define( 'AI1WM_STORAGE_INDEX_HTML', AI1WM_STORAGE_PATH . DIRECTORY_SEPARATOR . 'index.html' ); |
| 524 | |
| 525 | // ========================== |
| 526 | // = Backups index.php File = |
| 527 | // ========================== |
| 528 | define( 'AI1WM_BACKUPS_INDEX_PHP', AI1WM_BACKUPS_PATH . DIRECTORY_SEPARATOR . 'index.php' ); |
| 529 | |
| 530 | // =========================== |
| 531 | // = Backups index.html File = |
| 532 | // =========================== |
| 533 | define( 'AI1WM_BACKUPS_INDEX_HTML', AI1WM_BACKUPS_PATH . DIRECTORY_SEPARATOR . 'index.html' ); |
| 534 | |
| 535 | // =========================== |
| 536 | // = Backups robots.txt File = |
| 537 | // =========================== |
| 538 | define( 'AI1WM_BACKUPS_ROBOTS_TXT', AI1WM_BACKUPS_PATH . DIRECTORY_SEPARATOR . 'robots.txt' ); |
| 539 | |
| 540 | // ========================== |
| 541 | // = Backups .htaccess File = |
| 542 | // ========================== |
| 543 | define( 'AI1WM_BACKUPS_HTACCESS', AI1WM_BACKUPS_PATH . DIRECTORY_SEPARATOR . '.htaccess' ); |
| 544 | |
| 545 | // =========================== |
| 546 | // = Backups web.config File = |
| 547 | // =========================== |
| 548 | define( 'AI1WM_BACKUPS_WEBCONFIG', AI1WM_BACKUPS_PATH . DIRECTORY_SEPARATOR . 'web.config' ); |
| 549 | |
| 550 | // ============================ |
| 551 | // = WordPress .htaccess File = |
| 552 | // ============================ |
| 553 | define( 'AI1WM_WORDPRESS_HTACCESS', ABSPATH . DIRECTORY_SEPARATOR . '.htaccess' ); |
| 554 | |
| 555 | // ============================= |
| 556 | // = WordPress web.config File = |
| 557 | // ============================= |
| 558 | define( 'AI1WM_WORDPRESS_WEBCONFIG', ABSPATH . DIRECTORY_SEPARATOR . 'web.config' ); |
| 559 | |
| 560 | // ================================ |
| 561 | // = WP Migration Plugin Base Dir = |
| 562 | // ================================ |
| 563 | if ( defined( 'AI1WM_PLUGIN_BASENAME' ) ) { |
| 564 | define( 'AI1WM_PLUGIN_BASEDIR', dirname( AI1WM_PLUGIN_BASENAME ) ); |
| 565 | } else { |
| 566 | define( 'AI1WM_PLUGIN_BASEDIR', 'all-in-one-wp-migration' ); |
| 567 | } |
| 568 | |
| 569 | // ====================================== |
| 570 | // = Microsoft Azure Extension Base Dir = |
| 571 | // ====================================== |
| 572 | if ( defined( 'AI1WMZE_PLUGIN_BASENAME' ) ) { |
| 573 | define( 'AI1WMZE_PLUGIN_BASEDIR', dirname( AI1WMZE_PLUGIN_BASENAME ) ); |
| 574 | } else { |
| 575 | define( 'AI1WMZE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-azure-storage-extension' ); |
| 576 | } |
| 577 | |
| 578 | // =================================== |
| 579 | // = Microsoft Azure Extension Title = |
| 580 | // =================================== |
| 581 | if ( ! defined( 'AI1WMZE_PLUGIN_TITLE' ) ) { |
| 582 | define( 'AI1WMZE_PLUGIN_TITLE', 'Microsoft Azure Storage Extension' ); |
| 583 | } |
| 584 | |
| 585 | // =================================== |
| 586 | // = Microsoft Azure Extension About = |
| 587 | // =================================== |
| 588 | if ( ! defined( 'AI1WMZE_PLUGIN_ABOUT' ) ) { |
| 589 | define( 'AI1WMZE_PLUGIN_ABOUT', 'https://plugin-updates.wp-migration.com/microsoft-azure-storage-extension.json' ); |
| 590 | } |
| 591 | |
| 592 | // =================================== |
| 593 | // = Microsoft Azure Extension Check = |
| 594 | // =================================== |
| 595 | if ( ! defined( 'AI1WMZE_PLUGIN_CHECK' ) ) { |
| 596 | define( 'AI1WMZE_PLUGIN_CHECK', 'https://redirect.wp-migration.com/v1/check/microsoft-azure-storage-extension' ); |
| 597 | } |
| 598 | |
| 599 | // ================================= |
| 600 | // = Microsoft Azure Extension Key = |
| 601 | // ================================= |
| 602 | if ( ! defined( 'AI1WMZE_PLUGIN_KEY' ) ) { |
| 603 | define( 'AI1WMZE_PLUGIN_KEY', 'ai1wmze_plugin_key' ); |
| 604 | } |
| 605 | |
| 606 | // =================================== |
| 607 | // = Microsoft Azure Extension Short = |
| 608 | // =================================== |
| 609 | if ( ! defined( 'AI1WMZE_PLUGIN_SHORT' ) ) { |
| 610 | define( 'AI1WMZE_PLUGIN_SHORT', 'azure-storage' ); |
| 611 | } |
| 612 | |
| 613 | // =================================== |
| 614 | // = Backblaze B2 Extension Base Dir = |
| 615 | // =================================== |
| 616 | if ( defined( 'AI1WMAE_PLUGIN_BASENAME' ) ) { |
| 617 | define( 'AI1WMAE_PLUGIN_BASEDIR', dirname( AI1WMAE_PLUGIN_BASENAME ) ); |
| 618 | } else { |
| 619 | define( 'AI1WMAE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-b2-extension' ); |
| 620 | } |
| 621 | |
| 622 | // ================================ |
| 623 | // = Backblaze B2 Extension Title = |
| 624 | // ================================ |
| 625 | if ( ! defined( 'AI1WMAE_PLUGIN_TITLE' ) ) { |
| 626 | define( 'AI1WMAE_PLUGIN_TITLE', 'Backblaze B2 Extension' ); |
| 627 | } |
| 628 | |
| 629 | // ================================ |
| 630 | // = Backblaze B2 Extension About = |
| 631 | // ================================ |
| 632 | if ( ! defined( 'AI1WMAE_PLUGIN_ABOUT' ) ) { |
| 633 | define( 'AI1WMAE_PLUGIN_ABOUT', 'https://plugin-updates.wp-migration.com/backblaze-b2-extension.json' ); |
| 634 | } |
| 635 | |
| 636 | // ================================ |
| 637 | // = Backblaze B2 Extension Check = |
| 638 | // ================================ |
| 639 | if ( ! defined( 'AI1WMAE_PLUGIN_CHECK' ) ) { |
| 640 | define( 'AI1WMAE_PLUGIN_CHECK', 'https://redirect.wp-migration.com/v1/check/backblaze-b2-extension' ); |
| 641 | } |
| 642 | |
| 643 | // ============================== |
| 644 | // = Backblaze B2 Extension Key = |
| 645 | // ============================== |
| 646 | if ( ! defined( 'AI1WMAE_PLUGIN_KEY' ) ) { |
| 647 | define( 'AI1WMAE_PLUGIN_KEY', 'ai1wmae_plugin_key' ); |
| 648 | } |
| 649 | |
| 650 | // ================================ |
| 651 | // = Backblaze B2 Extension Short = |
| 652 | // ================================ |
| 653 | if ( ! defined( 'AI1WMAE_PLUGIN_SHORT' ) ) { |
| 654 | define( 'AI1WMAE_PLUGIN_SHORT', 'b2' ); |
| 655 | } |
| 656 | |
| 657 | // ========================== |
| 658 | // = Backup Plugin Base Dir = |
| 659 | // ========================== |
| 660 | if ( defined( 'AI1WMVE_PLUGIN_BASENAME' ) ) { |
| 661 | define( 'AI1WMVE_PLUGIN_BASEDIR', dirname( AI1WMVE_PLUGIN_BASENAME ) ); |
| 662 | } else { |
| 663 | define( 'AI1WMVE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-backup' ); |
| 664 | } |
| 665 | |
| 666 | // ======================= |
| 667 | // = Backup Plugin Title = |
| 668 | // ======================= |
| 669 | if ( ! defined( 'AI1WMVE_PLUGIN_TITLE' ) ) { |
| 670 | define( 'AI1WMVE_PLUGIN_TITLE', 'Backup Plugin' ); |
| 671 | } |
| 672 | |
| 673 | // ======================= |
| 674 | // = Backup Plugin About = |
| 675 | // ======================= |
| 676 | if ( ! defined( 'AI1WMVE_PLUGIN_ABOUT' ) ) { |
| 677 | define( 'AI1WMVE_PLUGIN_ABOUT', 'https://plugin-updates.wp-migration.com/backup-plugin.json' ); |
| 678 | } |
| 679 | |
| 680 | // ======================= |
| 681 | // = Backup Plugin Check = |
| 682 | // ======================= |
| 683 | if ( ! defined( 'AI1WMVE_PLUGIN_CHECK' ) ) { |
| 684 | define( 'AI1WMVE_PLUGIN_CHECK', 'https://redirect.wp-migration.com/v1/check/backup-plugin' ); |
| 685 | } |
| 686 | |
| 687 | // ===================== |
| 688 | // = Backup Plugin Key = |
| 689 | // ===================== |
| 690 | if ( ! defined( 'AI1WMVE_PLUGIN_KEY' ) ) { |
| 691 | define( 'AI1WMVE_PLUGIN_KEY', 'ai1wmve_plugin_key' ); |
| 692 | } |
| 693 | |
| 694 | // ======================= |
| 695 | // = Backup Plugin Short = |
| 696 | // ======================= |
| 697 | if ( ! defined( 'AI1WMVE_PLUGIN_SHORT' ) ) { |
| 698 | define( 'AI1WMVE_PLUGIN_SHORT', 'backup' ); |
| 699 | } |
| 700 | |
| 701 | // ========================== |
| 702 | // = Box Extension Base Dir = |
| 703 | // ========================== |
| 704 | if ( defined( 'AI1WMBE_PLUGIN_BASENAME' ) ) { |
| 705 | define( 'AI1WMBE_PLUGIN_BASEDIR', dirname( AI1WMBE_PLUGIN_BASENAME ) ); |
| 706 | } else { |
| 707 | define( 'AI1WMBE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-box-extension' ); |
| 708 | } |
| 709 | |
| 710 | // ======================= |
| 711 | // = Box Extension Title = |
| 712 | // ======================= |
| 713 | if ( ! defined( 'AI1WMBE_PLUGIN_TITLE' ) ) { |
| 714 | define( 'AI1WMBE_PLUGIN_TITLE', 'Box Extension' ); |
| 715 | } |
| 716 | |
| 717 | // ======================= |
| 718 | // = Box Extension About = |
| 719 | // ======================= |
| 720 | if ( ! defined( 'AI1WMBE_PLUGIN_ABOUT' ) ) { |
| 721 | define( 'AI1WMBE_PLUGIN_ABOUT', 'https://plugin-updates.wp-migration.com/box-extension.json' ); |
| 722 | } |
| 723 | |
| 724 | // ======================= |
| 725 | // = Box Extension Check = |
| 726 | // ======================= |
| 727 | if ( ! defined( 'AI1WMBE_PLUGIN_CHECK' ) ) { |
| 728 | define( 'AI1WMBE_PLUGIN_CHECK', 'https://redirect.wp-migration.com/v1/check/box-extension' ); |
| 729 | } |
| 730 | |
| 731 | // ===================== |
| 732 | // = Box Extension Key = |
| 733 | // ===================== |
| 734 | if ( ! defined( 'AI1WMBE_PLUGIN_KEY' ) ) { |
| 735 | define( 'AI1WMBE_PLUGIN_KEY', 'ai1wmbe_plugin_key' ); |
| 736 | } |
| 737 | |
| 738 | // ======================= |
| 739 | // = Box Extension Short = |
| 740 | // ======================= |
| 741 | if ( ! defined( 'AI1WMBE_PLUGIN_SHORT' ) ) { |
| 742 | define( 'AI1WMBE_PLUGIN_SHORT', 'box' ); |
| 743 | } |
| 744 | |
| 745 | // ========================================== |
| 746 | // = DigitalOcean Spaces Extension Base Dir = |
| 747 | // ========================================== |
| 748 | if ( defined( 'AI1WMIE_PLUGIN_BASENAME' ) ) { |
| 749 | define( 'AI1WMIE_PLUGIN_BASEDIR', dirname( AI1WMIE_PLUGIN_BASENAME ) ); |
| 750 | } else { |
| 751 | define( 'AI1WMIE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-digitalocean-extension' ); |
| 752 | } |
| 753 | |
| 754 | // ======================================= |
| 755 | // = DigitalOcean Spaces Extension Title = |
| 756 | // ======================================= |
| 757 | if ( ! defined( 'AI1WMIE_PLUGIN_TITLE' ) ) { |
| 758 | define( 'AI1WMIE_PLUGIN_TITLE', 'DigitalOcean Spaces Extension' ); |
| 759 | } |
| 760 | |
| 761 | // ======================================= |
| 762 | // = DigitalOcean Spaces Extension About = |
| 763 | // ======================================= |
| 764 | if ( ! defined( 'AI1WMIE_PLUGIN_ABOUT' ) ) { |
| 765 | define( 'AI1WMIE_PLUGIN_ABOUT', 'https://plugin-updates.wp-migration.com/digitalocean-spaces-extension.json' ); |
| 766 | } |
| 767 | |
| 768 | // ======================================= |
| 769 | // = DigitalOcean Spaces Extension Check = |
| 770 | // ======================================= |
| 771 | if ( ! defined( 'AI1WMIE_PLUGIN_CHECK' ) ) { |
| 772 | define( 'AI1WMIE_PLUGIN_CHECK', 'https://redirect.wp-migration.com/v1/check/digitalocean-spaces-extension' ); |
| 773 | } |
| 774 | |
| 775 | // ===================================== |
| 776 | // = DigitalOcean Spaces Extension Key = |
| 777 | // ===================================== |
| 778 | if ( ! defined( 'AI1WMIE_PLUGIN_KEY' ) ) { |
| 779 | define( 'AI1WMIE_PLUGIN_KEY', 'ai1wmie_plugin_key' ); |
| 780 | } |
| 781 | |
| 782 | // ======================================= |
| 783 | // = DigitalOcean Spaces Extension Short = |
| 784 | // ======================================= |
| 785 | if ( ! defined( 'AI1WMIE_PLUGIN_SHORT' ) ) { |
| 786 | define( 'AI1WMIE_PLUGIN_SHORT', 'digitalocean' ); |
| 787 | } |
| 788 | |
| 789 | // ============================= |
| 790 | // = Direct Extension Base Dir = |
| 791 | // ============================= |
| 792 | if ( defined( 'AI1WMXE_PLUGIN_BASENAME' ) ) { |
| 793 | define( 'AI1WMXE_PLUGIN_BASEDIR', dirname( AI1WMXE_PLUGIN_BASENAME ) ); |
| 794 | } else { |
| 795 | define( 'AI1WMXE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-direct-extension' ); |
| 796 | } |
| 797 | // ========================== |
| 798 | // = Direct Extension Title = |
| 799 | // ========================== |
| 800 | if ( ! defined( 'AI1WMXE_PLUGIN_TITLE' ) ) { |
| 801 | define( 'AI1WMXE_PLUGIN_TITLE', 'Direct Extension' ); |
| 802 | } |
| 803 | // ========================== |
| 804 | // = Direct Extension About = |
| 805 | // ========================== |
| 806 | if ( ! defined( 'AI1WMXE_PLUGIN_ABOUT' ) ) { |
| 807 | define( 'AI1WMXE_PLUGIN_ABOUT', 'https://plugin-updates.wp-migration.com/direct-extension.json' ); |
| 808 | } |
| 809 | |
| 810 | // ========================== |
| 811 | // = Direct Extension Check = |
| 812 | // ========================== |
| 813 | if ( ! defined( 'AI1WMXE_PLUGIN_CHECK' ) ) { |
| 814 | define( 'AI1WMXE_PLUGIN_CHECK', 'https://redirect.wp-migration.com/v1/check/direct-extension' ); |
| 815 | } |
| 816 | |
| 817 | // ======================== |
| 818 | // = Direct Extension Key = |
| 819 | // ======================== |
| 820 | if ( ! defined( 'AI1WMXE_PLUGIN_KEY' ) ) { |
| 821 | define( 'AI1WMXE_PLUGIN_KEY', 'ai1wmxe_plugin_key' ); |
| 822 | } |
| 823 | // ========================== |
| 824 | // = Direct Extension Short = |
| 825 | // ========================== |
| 826 | if ( ! defined( 'AI1WMXE_PLUGIN_SHORT' ) ) { |
| 827 | define( 'AI1WMXE_PLUGIN_SHORT', 'direct' ); |
| 828 | } |
| 829 | |
| 830 | // ============================== |
| 831 | // = Dropbox Extension Base Dir = |
| 832 | // ============================== |
| 833 | if ( defined( 'AI1WMDE_PLUGIN_BASENAME' ) ) { |
| 834 | define( 'AI1WMDE_PLUGIN_BASEDIR', dirname( AI1WMDE_PLUGIN_BASENAME ) ); |
| 835 | } else { |
| 836 | define( 'AI1WMDE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-dropbox-extension' ); |
| 837 | } |
| 838 | |
| 839 | // =========================== |
| 840 | // = Dropbox Extension Title = |
| 841 | // =========================== |
| 842 | if ( ! defined( 'AI1WMDE_PLUGIN_TITLE' ) ) { |
| 843 | define( 'AI1WMDE_PLUGIN_TITLE', 'Dropbox Extension' ); |
| 844 | } |
| 845 | |
| 846 | // =========================== |
| 847 | // = Dropbox Extension About = |
| 848 | // =========================== |
| 849 | if ( ! defined( 'AI1WMDE_PLUGIN_ABOUT' ) ) { |
| 850 | define( 'AI1WMDE_PLUGIN_ABOUT', 'https://plugin-updates.wp-migration.com/dropbox-extension.json' ); |
| 851 | } |
| 852 | |
| 853 | // =========================== |
| 854 | // = Dropbox Extension Check = |
| 855 | // =========================== |
| 856 | if ( ! defined( 'AI1WMDE_PLUGIN_CHECK' ) ) { |
| 857 | define( 'AI1WMDE_PLUGIN_CHECK', 'https://redirect.wp-migration.com/v1/check/dropbox-extension' ); |
| 858 | } |
| 859 | |
| 860 | // ========================= |
| 861 | // = Dropbox Extension Key = |
| 862 | // ========================= |
| 863 | if ( ! defined( 'AI1WMDE_PLUGIN_KEY' ) ) { |
| 864 | define( 'AI1WMDE_PLUGIN_KEY', 'ai1wmde_plugin_key' ); |
| 865 | } |
| 866 | |
| 867 | // =========================== |
| 868 | // = Dropbox Extension Short = |
| 869 | // =========================== |
| 870 | if ( ! defined( 'AI1WMDE_PLUGIN_SHORT' ) ) { |
| 871 | define( 'AI1WMDE_PLUGIN_SHORT', 'dropbox' ); |
| 872 | } |
| 873 | |
| 874 | // =========================== |
| 875 | // = File Extension Base Dir = |
| 876 | // =========================== |
| 877 | if ( defined( 'AI1WMTE_PLUGIN_BASENAME' ) ) { |
| 878 | define( 'AI1WMTE_PLUGIN_BASEDIR', dirname( AI1WMTE_PLUGIN_BASENAME ) ); |
| 879 | } else { |
| 880 | define( 'AI1WMTE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-file-extension' ); |
| 881 | } |
| 882 | |
| 883 | // ======================== |
| 884 | // = File Extension Title = |
| 885 | // ======================== |
| 886 | if ( ! defined( 'AI1WMTE_PLUGIN_TITLE' ) ) { |
| 887 | define( 'AI1WMTE_PLUGIN_TITLE', 'File Extension' ); |
| 888 | } |
| 889 | |
| 890 | // ======================== |
| 891 | // = File Extension About = |
| 892 | // ======================== |
| 893 | if ( ! defined( 'AI1WMTE_PLUGIN_ABOUT' ) ) { |
| 894 | define( 'AI1WMTE_PLUGIN_ABOUT', 'https://import.wp-migration.com/file-extension.json' ); |
| 895 | } |
| 896 | |
| 897 | // ======================== |
| 898 | // = File Extension Check = |
| 899 | // ======================== |
| 900 | if ( ! defined( 'AI1WMTE_PLUGIN_CHECK' ) ) { |
| 901 | define( 'AI1WMTE_PLUGIN_CHECK', 'https://redirect.wp-migration.com/v1/check/file-extension' ); |
| 902 | } |
| 903 | |
| 904 | // ====================== |
| 905 | // = File Extension Key = |
| 906 | // ====================== |
| 907 | if ( ! defined( 'AI1WMTE_PLUGIN_KEY' ) ) { |
| 908 | define( 'AI1WMTE_PLUGIN_KEY', 'ai1wmte_plugin_key' ); |
| 909 | } |
| 910 | |
| 911 | // ======================== |
| 912 | // = File Extension Short = |
| 913 | // ======================== |
| 914 | if ( ! defined( 'AI1WMTE_PLUGIN_SHORT' ) ) { |
| 915 | define( 'AI1WMTE_PLUGIN_SHORT', 'file' ); |
| 916 | } |
| 917 | |
| 918 | // ========================== |
| 919 | // = FTP Extension Base Dir = |
| 920 | // ========================== |
| 921 | if ( defined( 'AI1WMFE_PLUGIN_BASENAME' ) ) { |
| 922 | define( 'AI1WMFE_PLUGIN_BASEDIR', dirname( AI1WMFE_PLUGIN_BASENAME ) ); |
| 923 | } else { |
| 924 | define( 'AI1WMFE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-ftp-extension' ); |
| 925 | } |
| 926 | |
| 927 | // ======================= |
| 928 | // = FTP Extension Title = |
| 929 | // ======================= |
| 930 | if ( ! defined( 'AI1WMFE_PLUGIN_TITLE' ) ) { |
| 931 | define( 'AI1WMFE_PLUGIN_TITLE', 'FTP Extension' ); |
| 932 | } |
| 933 | |
| 934 | // ======================= |
| 935 | // = FTP Extension About = |
| 936 | // ======================= |
| 937 | if ( ! defined( 'AI1WMFE_PLUGIN_ABOUT' ) ) { |
| 938 | define( 'AI1WMFE_PLUGIN_ABOUT', 'https://plugin-updates.wp-migration.com/ftp-extension.json' ); |
| 939 | } |
| 940 | |
| 941 | // ======================= |
| 942 | // = FTP Extension Check = |
| 943 | // ======================= |
| 944 | if ( ! defined( 'AI1WMFE_PLUGIN_CHECK' ) ) { |
| 945 | define( 'AI1WMFE_PLUGIN_CHECK', 'https://redirect.wp-migration.com/v1/check/ftp-extension' ); |
| 946 | } |
| 947 | |
| 948 | // ===================== |
| 949 | // = FTP Extension Key = |
| 950 | // ===================== |
| 951 | if ( ! defined( 'AI1WMFE_PLUGIN_KEY' ) ) { |
| 952 | define( 'AI1WMFE_PLUGIN_KEY', 'ai1wmfe_plugin_key' ); |
| 953 | } |
| 954 | |
| 955 | // ======================= |
| 956 | // = FTP Extension Short = |
| 957 | // ======================= |
| 958 | if ( ! defined( 'AI1WMFE_PLUGIN_SHORT' ) ) { |
| 959 | define( 'AI1WMFE_PLUGIN_SHORT', 'ftp' ); |
| 960 | } |
| 961 | |
| 962 | // =========================================== |
| 963 | // = Google Cloud Storage Extension Base Dir = |
| 964 | // =========================================== |
| 965 | if ( defined( 'AI1WMCE_PLUGIN_BASENAME' ) ) { |
| 966 | define( 'AI1WMCE_PLUGIN_BASEDIR', dirname( AI1WMCE_PLUGIN_BASENAME ) ); |
| 967 | } else { |
| 968 | define( 'AI1WMCE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-gcloud-storage-extension' ); |
| 969 | } |
| 970 | |
| 971 | // ======================================== |
| 972 | // = Google Cloud Storage Extension Title = |
| 973 | // ======================================== |
| 974 | if ( ! defined( 'AI1WMCE_PLUGIN_TITLE' ) ) { |
| 975 | define( 'AI1WMCE_PLUGIN_TITLE', 'Google Cloud Storage Extension' ); |
| 976 | } |
| 977 | |
| 978 | // ======================================== |
| 979 | // = Google Cloud Storage Extension About = |
| 980 | // ======================================== |
| 981 | if ( ! defined( 'AI1WMCE_PLUGIN_ABOUT' ) ) { |
| 982 | define( 'AI1WMCE_PLUGIN_ABOUT', 'https://plugin-updates.wp-migration.com/google-cloud-storage-extension.json' ); |
| 983 | } |
| 984 | |
| 985 | // ======================================== |
| 986 | // = Google Cloud Storage Extension Check = |
| 987 | // ======================================== |
| 988 | if ( ! defined( 'AI1WMCE_PLUGIN_CHECK' ) ) { |
| 989 | define( 'AI1WMCE_PLUGIN_CHECK', 'https://redirect.wp-migration.com/v1/check/google-cloud-storage-extension' ); |
| 990 | } |
| 991 | |
| 992 | // ====================================== |
| 993 | // = Google Cloud Storage Extension Key = |
| 994 | // ====================================== |
| 995 | if ( ! defined( 'AI1WMCE_PLUGIN_KEY' ) ) { |
| 996 | define( 'AI1WMCE_PLUGIN_KEY', 'ai1wmce_plugin_key' ); |
| 997 | } |
| 998 | |
| 999 | // ======================================== |
| 1000 | // = Google Cloud Storage Extension Short = |
| 1001 | // ======================================== |
| 1002 | if ( ! defined( 'AI1WMCE_PLUGIN_SHORT' ) ) { |
| 1003 | define( 'AI1WMCE_PLUGIN_SHORT', 'gcloud-storage' ); |
| 1004 | } |
| 1005 | |
| 1006 | // =================================== |
| 1007 | // = Google Drive Extension Base Dir = |
| 1008 | // =================================== |
| 1009 | if ( defined( 'AI1WMGE_PLUGIN_BASENAME' ) ) { |
| 1010 | define( 'AI1WMGE_PLUGIN_BASEDIR', dirname( AI1WMGE_PLUGIN_BASENAME ) ); |
| 1011 | } else { |
| 1012 | define( 'AI1WMGE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-gdrive-extension' ); |
| 1013 | } |
| 1014 | |
| 1015 | // ================================ |
| 1016 | // = Google Drive Extension Title = |
| 1017 | // ================================ |
| 1018 | if ( ! defined( 'AI1WMGE_PLUGIN_TITLE' ) ) { |
| 1019 | define( 'AI1WMGE_PLUGIN_TITLE', 'Google Drive Extension' ); |
| 1020 | } |
| 1021 | |
| 1022 | // ================================ |
| 1023 | // = Google Drive Extension About = |
| 1024 | // ================================ |
| 1025 | if ( ! defined( 'AI1WMGE_PLUGIN_ABOUT' ) ) { |
| 1026 | define( 'AI1WMGE_PLUGIN_ABOUT', 'https://plugin-updates.wp-migration.com/google-drive-extension.json' ); |
| 1027 | } |
| 1028 | |
| 1029 | // ================================ |
| 1030 | // = Google Drive Extension Check = |
| 1031 | // ================================ |
| 1032 | if ( ! defined( 'AI1WMGE_PLUGIN_CHECK' ) ) { |
| 1033 | define( 'AI1WMGE_PLUGIN_CHECK', 'https://redirect.wp-migration.com/v1/check/google-drive-extension' ); |
| 1034 | } |
| 1035 | |
| 1036 | // ============================== |
| 1037 | // = Google Drive Extension Key = |
| 1038 | // ============================== |
| 1039 | if ( ! defined( 'AI1WMGE_PLUGIN_KEY' ) ) { |
| 1040 | define( 'AI1WMGE_PLUGIN_KEY', 'ai1wmge_plugin_key' ); |
| 1041 | } |
| 1042 | |
| 1043 | // ================================ |
| 1044 | // = Google Drive Extension Short = |
| 1045 | // ================================ |
| 1046 | if ( ! defined( 'AI1WMGE_PLUGIN_SHORT' ) ) { |
| 1047 | define( 'AI1WMGE_PLUGIN_SHORT', 'gdrive' ); |
| 1048 | } |
| 1049 | |
| 1050 | // ===================================== |
| 1051 | // = Amazon Glacier Extension Base Dir = |
| 1052 | // ===================================== |
| 1053 | if ( defined( 'AI1WMRE_PLUGIN_BASENAME' ) ) { |
| 1054 | define( 'AI1WMRE_PLUGIN_BASEDIR', dirname( AI1WMRE_PLUGIN_BASENAME ) ); |
| 1055 | } else { |
| 1056 | define( 'AI1WMRE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-glacier-extension' ); |
| 1057 | } |
| 1058 | |
| 1059 | // ================================== |
| 1060 | // = Amazon Glacier Extension Title = |
| 1061 | // ================================== |
| 1062 | if ( ! defined( 'AI1WMRE_PLUGIN_TITLE' ) ) { |
| 1063 | define( 'AI1WMRE_PLUGIN_TITLE', 'Amazon Glacier Extension' ); |
| 1064 | } |
| 1065 | |
| 1066 | // ================================== |
| 1067 | // = Amazon Glacier Extension About = |
| 1068 | // ================================== |
| 1069 | if ( ! defined( 'AI1WMRE_PLUGIN_ABOUT' ) ) { |
| 1070 | define( 'AI1WMRE_PLUGIN_ABOUT', 'https://plugin-updates.wp-migration.com/amazon-glacier-extension.json' ); |
| 1071 | } |
| 1072 | |
| 1073 | // ================================== |
| 1074 | // = Amazon Glacier Extension Check = |
| 1075 | // ================================== |
| 1076 | if ( ! defined( 'AI1WMRE_PLUGIN_CHECK' ) ) { |
| 1077 | define( 'AI1WMRE_PLUGIN_CHECK', 'https://redirect.wp-migration.com/v1/check/amazon-glacier-extension' ); |
| 1078 | } |
| 1079 | |
| 1080 | // ================================ |
| 1081 | // = Amazon Glacier Extension Key = |
| 1082 | // ================================ |
| 1083 | if ( ! defined( 'AI1WMRE_PLUGIN_KEY' ) ) { |
| 1084 | define( 'AI1WMRE_PLUGIN_KEY', 'ai1wmre_plugin_key' ); |
| 1085 | } |
| 1086 | |
| 1087 | // ================================== |
| 1088 | // = Amazon Glacier Extension Short = |
| 1089 | // ================================== |
| 1090 | if ( ! defined( 'AI1WMRE_PLUGIN_SHORT' ) ) { |
| 1091 | define( 'AI1WMRE_PLUGIN_SHORT', 'glacier' ); |
| 1092 | } |
| 1093 | |
| 1094 | // =========================== |
| 1095 | // = Mega Extension Base Dir = |
| 1096 | // =========================== |
| 1097 | if ( defined( 'AI1WMEE_PLUGIN_BASENAME' ) ) { |
| 1098 | define( 'AI1WMEE_PLUGIN_BASEDIR', dirname( AI1WMEE_PLUGIN_BASENAME ) ); |
| 1099 | } else { |
| 1100 | define( 'AI1WMEE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-mega-extension' ); |
| 1101 | } |
| 1102 | |
| 1103 | // ======================== |
| 1104 | // = Mega Extension Title = |
| 1105 | // ======================== |
| 1106 | if ( ! defined( 'AI1WMEE_PLUGIN_TITLE' ) ) { |
| 1107 | define( 'AI1WMEE_PLUGIN_TITLE', 'Mega Extension' ); |
| 1108 | } |
| 1109 | |
| 1110 | // ======================== |
| 1111 | // = Mega Extension About = |
| 1112 | // ======================== |
| 1113 | if ( ! defined( 'AI1WMEE_PLUGIN_ABOUT' ) ) { |
| 1114 | define( 'AI1WMEE_PLUGIN_ABOUT', 'https://plugin-updates.wp-migration.com/mega-extension.json' ); |
| 1115 | } |
| 1116 | |
| 1117 | // ======================== |
| 1118 | // = Mega Extension Check = |
| 1119 | // ======================== |
| 1120 | if ( ! defined( 'AI1WMEE_PLUGIN_CHECK' ) ) { |
| 1121 | define( 'AI1WMEE_PLUGIN_CHECK', 'https://redirect.wp-migration.com/v1/check/mega-extension' ); |
| 1122 | } |
| 1123 | |
| 1124 | // ====================== |
| 1125 | // = Mega Extension Key = |
| 1126 | // ====================== |
| 1127 | if ( ! defined( 'AI1WMEE_PLUGIN_KEY' ) ) { |
| 1128 | define( 'AI1WMEE_PLUGIN_KEY', 'ai1wmee_plugin_key' ); |
| 1129 | } |
| 1130 | |
| 1131 | // ======================== |
| 1132 | // = Mega Extension Short = |
| 1133 | // ======================== |
| 1134 | if ( ! defined( 'AI1WMEE_PLUGIN_SHORT' ) ) { |
| 1135 | define( 'AI1WMEE_PLUGIN_SHORT', 'mega' ); |
| 1136 | } |
| 1137 | |
| 1138 | // ================================ |
| 1139 | // = Multisite Extension Base Dir = |
| 1140 | // ================================ |
| 1141 | if ( defined( 'AI1WMME_PLUGIN_BASENAME' ) ) { |
| 1142 | define( 'AI1WMME_PLUGIN_BASEDIR', dirname( AI1WMME_PLUGIN_BASENAME ) ); |
| 1143 | } else { |
| 1144 | define( 'AI1WMME_PLUGIN_BASEDIR', 'all-in-one-wp-migration-multisite-extension' ); |
| 1145 | } |
| 1146 | |
| 1147 | // ============================= |
| 1148 | // = Multisite Extension Title = |
| 1149 | // ============================= |
| 1150 | if ( ! defined( 'AI1WMME_PLUGIN_TITLE' ) ) { |
| 1151 | define( 'AI1WMME_PLUGIN_TITLE', 'Multisite Extension' ); |
| 1152 | } |
| 1153 | |
| 1154 | // ============================= |
| 1155 | // = Multisite Extension About = |
| 1156 | // ============================= |
| 1157 | if ( ! defined( 'AI1WMME_PLUGIN_ABOUT' ) ) { |
| 1158 | define( 'AI1WMME_PLUGIN_ABOUT', 'https://plugin-updates.wp-migration.com/multisite-extension.json' ); |
| 1159 | } |
| 1160 | |
| 1161 | // ============================= |
| 1162 | // = Multisite Extension Check = |
| 1163 | // ============================= |
| 1164 | if ( ! defined( 'AI1WMME_PLUGIN_CHECK' ) ) { |
| 1165 | define( 'AI1WMME_PLUGIN_CHECK', 'https://redirect.wp-migration.com/v1/check/multisite-extension' ); |
| 1166 | } |
| 1167 | |
| 1168 | // =========================== |
| 1169 | // = Multisite Extension Key = |
| 1170 | // =========================== |
| 1171 | if ( ! defined( 'AI1WMME_PLUGIN_KEY' ) ) { |
| 1172 | define( 'AI1WMME_PLUGIN_KEY', 'ai1wmme_plugin_key' ); |
| 1173 | } |
| 1174 | |
| 1175 | // ============================= |
| 1176 | // = Multisite Extension Short = |
| 1177 | // ============================= |
| 1178 | if ( ! defined( 'AI1WMME_PLUGIN_SHORT' ) ) { |
| 1179 | define( 'AI1WMME_PLUGIN_SHORT', 'multisite' ); |
| 1180 | } |
| 1181 | |
| 1182 | // =============================== |
| 1183 | // = OneDrive Extension Base Dir = |
| 1184 | // =============================== |
| 1185 | if ( defined( 'AI1WMOE_PLUGIN_BASENAME' ) ) { |
| 1186 | define( 'AI1WMOE_PLUGIN_BASEDIR', dirname( AI1WMOE_PLUGIN_BASENAME ) ); |
| 1187 | } else { |
| 1188 | define( 'AI1WMOE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-onedrive-extension' ); |
| 1189 | } |
| 1190 | |
| 1191 | // ============================ |
| 1192 | // = OneDrive Extension Title = |
| 1193 | // ============================ |
| 1194 | if ( ! defined( 'AI1WMOE_PLUGIN_TITLE' ) ) { |
| 1195 | define( 'AI1WMOE_PLUGIN_TITLE', 'OneDrive Extension' ); |
| 1196 | } |
| 1197 | |
| 1198 | // ============================ |
| 1199 | // = OneDrive Extension About = |
| 1200 | // ============================ |
| 1201 | if ( ! defined( 'AI1WMOE_PLUGIN_ABOUT' ) ) { |
| 1202 | define( 'AI1WMOE_PLUGIN_ABOUT', 'https://plugin-updates.wp-migration.com/onedrive-extension.json' ); |
| 1203 | } |
| 1204 | |
| 1205 | // ============================ |
| 1206 | // = OneDrive Extension Check = |
| 1207 | // ============================ |
| 1208 | if ( ! defined( 'AI1WMOE_PLUGIN_CHECK' ) ) { |
| 1209 | define( 'AI1WMOE_PLUGIN_CHECK', 'https://redirect.wp-migration.com/v1/check/onedrive-extension' ); |
| 1210 | } |
| 1211 | |
| 1212 | // ========================== |
| 1213 | // = OneDrive Extension Key = |
| 1214 | // ========================== |
| 1215 | if ( ! defined( 'AI1WMOE_PLUGIN_KEY' ) ) { |
| 1216 | define( 'AI1WMOE_PLUGIN_KEY', 'ai1wmoe_plugin_key' ); |
| 1217 | } |
| 1218 | |
| 1219 | // ============================ |
| 1220 | // = OneDrive Extension Short = |
| 1221 | // ============================ |
| 1222 | if ( ! defined( 'AI1WMOE_PLUGIN_SHORT' ) ) { |
| 1223 | define( 'AI1WMOE_PLUGIN_SHORT', 'onedrive' ); |
| 1224 | } |
| 1225 | |
| 1226 | // ============================= |
| 1227 | // = pCloud Extension Base Dir = |
| 1228 | // ============================= |
| 1229 | if ( defined( 'AI1WMPE_PLUGIN_BASENAME' ) ) { |
| 1230 | define( 'AI1WMPE_PLUGIN_BASEDIR', dirname( AI1WMPE_PLUGIN_BASENAME ) ); |
| 1231 | } else { |
| 1232 | define( 'AI1WMPE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-pcloud-extension' ); |
| 1233 | } |
| 1234 | |
| 1235 | // ========================== |
| 1236 | // = pCloud Extension Title = |
| 1237 | // ========================== |
| 1238 | if ( ! defined( 'AI1WMPE_PLUGIN_TITLE' ) ) { |
| 1239 | define( 'AI1WMPE_PLUGIN_TITLE', 'pCloud Extension' ); |
| 1240 | } |
| 1241 | |
| 1242 | // ========================== |
| 1243 | // = pCloud Extension About = |
| 1244 | // ========================== |
| 1245 | if ( ! defined( 'AI1WMPE_PLUGIN_ABOUT' ) ) { |
| 1246 | define( 'AI1WMPE_PLUGIN_ABOUT', 'https://plugin-updates.wp-migration.com/pcloud-extension.json' ); |
| 1247 | } |
| 1248 | |
| 1249 | // ========================== |
| 1250 | // = pCloud Extension Check = |
| 1251 | // ========================== |
| 1252 | if ( ! defined( 'AI1WMPE_PLUGIN_CHECK' ) ) { |
| 1253 | define( 'AI1WMPE_PLUGIN_CHECK', 'https://redirect.wp-migration.com/v1/check/pcloud-extension' ); |
| 1254 | } |
| 1255 | |
| 1256 | // ======================== |
| 1257 | // = pCloud Extension Key = |
| 1258 | // ======================== |
| 1259 | if ( ! defined( 'AI1WMPE_PLUGIN_KEY' ) ) { |
| 1260 | define( 'AI1WMPE_PLUGIN_KEY', 'ai1wmpe_plugin_key' ); |
| 1261 | } |
| 1262 | |
| 1263 | // ========================== |
| 1264 | // = pCloud Extension Short = |
| 1265 | // ========================== |
| 1266 | if ( ! defined( 'AI1WMPE_PLUGIN_SHORT' ) ) { |
| 1267 | define( 'AI1WMPE_PLUGIN_SHORT', 'pcloud' ); |
| 1268 | } |
| 1269 | |
| 1270 | // ======================= |
| 1271 | // = Pro Plugin Base Dir = |
| 1272 | // ======================= |
| 1273 | if ( defined( 'AI1WMKE_PLUGIN_BASENAME' ) ) { |
| 1274 | define( 'AI1WMKE_PLUGIN_BASEDIR', dirname( AI1WMKE_PLUGIN_BASENAME ) ); |
| 1275 | } else { |
| 1276 | define( 'AI1WMKE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-pro' ); |
| 1277 | } |
| 1278 | |
| 1279 | // ==================== |
| 1280 | // = Pro Plugin Title = |
| 1281 | // ==================== |
| 1282 | if ( ! defined( 'AI1WMKE_PLUGIN_TITLE' ) ) { |
| 1283 | define( 'AI1WMKE_PLUGIN_TITLE', 'All-in-One WP Migration Pro' ); |
| 1284 | } |
| 1285 | |
| 1286 | // ==================== |
| 1287 | // = Pro Plugin About = |
| 1288 | // ==================== |
| 1289 | if ( ! defined( 'AI1WMKE_PLUGIN_ABOUT' ) ) { |
| 1290 | define( 'AI1WMKE_PLUGIN_ABOUT', 'https://plugin-updates.wp-migration.com/all-in-one-wp-migration-pro.json' ); |
| 1291 | } |
| 1292 | |
| 1293 | // ==================== |
| 1294 | // = Pro Plugin Check = |
| 1295 | // ==================== |
| 1296 | if ( ! defined( 'AI1WMKE_PLUGIN_CHECK' ) ) { |
| 1297 | define( 'AI1WMKE_PLUGIN_CHECK', 'https://redirect.wp-migration.com/v1/check/all-in-one-wp-migration-pro' ); |
| 1298 | } |
| 1299 | |
| 1300 | // ================== |
| 1301 | // = Pro Plugin Key = |
| 1302 | // ================== |
| 1303 | if ( ! defined( 'AI1WMKE_PLUGIN_KEY' ) ) { |
| 1304 | define( 'AI1WMKE_PLUGIN_KEY', 'ai1wmke_plugin_key' ); |
| 1305 | } |
| 1306 | |
| 1307 | // ==================== |
| 1308 | // = Pro Plugin Short = |
| 1309 | // ==================== |
| 1310 | if ( ! defined( 'AI1WMKE_PLUGIN_SHORT' ) ) { |
| 1311 | define( 'AI1WMKE_PLUGIN_SHORT', 'pro' ); |
| 1312 | } |
| 1313 | |
| 1314 | // ================================ |
| 1315 | // = S3 Client Extension Base Dir = |
| 1316 | // ================================ |
| 1317 | if ( defined( 'AI1WMNE_PLUGIN_BASENAME' ) ) { |
| 1318 | define( 'AI1WMNE_PLUGIN_BASEDIR', dirname( AI1WMNE_PLUGIN_BASENAME ) ); |
| 1319 | } else { |
| 1320 | define( 'AI1WMNE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-s3-client-extension' ); |
| 1321 | } |
| 1322 | |
| 1323 | // ============================= |
| 1324 | // = S3 Client Extension Title = |
| 1325 | // ============================= |
| 1326 | if ( ! defined( 'AI1WMNE_PLUGIN_TITLE' ) ) { |
| 1327 | define( 'AI1WMNE_PLUGIN_TITLE', 'S3 Client Extension' ); |
| 1328 | } |
| 1329 | |
| 1330 | // ============================= |
| 1331 | // = S3 Client Extension About = |
| 1332 | // ============================= |
| 1333 | if ( ! defined( 'AI1WMNE_PLUGIN_ABOUT' ) ) { |
| 1334 | define( 'AI1WMNE_PLUGIN_ABOUT', 'https://plugin-updates.wp-migration.com/s3-client-extension.json' ); |
| 1335 | } |
| 1336 | |
| 1337 | // ============================= |
| 1338 | // = S3 Client Extension Check = |
| 1339 | // ============================= |
| 1340 | if ( ! defined( 'AI1WMNE_PLUGIN_CHECK' ) ) { |
| 1341 | define( 'AI1WMNE_PLUGIN_CHECK', 'https://redirect.wp-migration.com/v1/check/s3-client-extension' ); |
| 1342 | } |
| 1343 | |
| 1344 | // =========================== |
| 1345 | // = S3 Client Extension Key = |
| 1346 | // =========================== |
| 1347 | if ( ! defined( 'AI1WMNE_PLUGIN_KEY' ) ) { |
| 1348 | define( 'AI1WMNE_PLUGIN_KEY', 'ai1wmne_plugin_key' ); |
| 1349 | } |
| 1350 | |
| 1351 | // ============================= |
| 1352 | // = S3 Client Extension Short = |
| 1353 | // ============================= |
| 1354 | if ( ! defined( 'AI1WMNE_PLUGIN_SHORT' ) ) { |
| 1355 | define( 'AI1WMNE_PLUGIN_SHORT', 's3-client' ); |
| 1356 | } |
| 1357 | |
| 1358 | // ================================ |
| 1359 | // = Amazon S3 Extension Base Dir = |
| 1360 | // ================================ |
| 1361 | if ( defined( 'AI1WMSE_PLUGIN_BASENAME' ) ) { |
| 1362 | define( 'AI1WMSE_PLUGIN_BASEDIR', dirname( AI1WMSE_PLUGIN_BASENAME ) ); |
| 1363 | } else { |
| 1364 | define( 'AI1WMSE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-s3-extension' ); |
| 1365 | } |
| 1366 | |
| 1367 | // ============================= |
| 1368 | // = Amazon S3 Extension Title = |
| 1369 | // ============================= |
| 1370 | if ( ! defined( 'AI1WMSE_PLUGIN_TITLE' ) ) { |
| 1371 | define( 'AI1WMSE_PLUGIN_TITLE', 'Amazon S3 Extension' ); |
| 1372 | } |
| 1373 | |
| 1374 | // ============================= |
| 1375 | // = Amazon S3 Extension About = |
| 1376 | // ============================= |
| 1377 | if ( ! defined( 'AI1WMSE_PLUGIN_ABOUT' ) ) { |
| 1378 | define( 'AI1WMSE_PLUGIN_ABOUT', 'https://plugin-updates.wp-migration.com/amazon-s3-extension.json' ); |
| 1379 | } |
| 1380 | |
| 1381 | // ============================= |
| 1382 | // = Amazon S3 Extension Check = |
| 1383 | // ============================= |
| 1384 | if ( ! defined( 'AI1WMSE_PLUGIN_CHECK' ) ) { |
| 1385 | define( 'AI1WMSE_PLUGIN_CHECK', 'https://redirect.wp-migration.com/v1/check/amazon-s3-extension' ); |
| 1386 | } |
| 1387 | |
| 1388 | // =========================== |
| 1389 | // = Amazon S3 Extension Key = |
| 1390 | // =========================== |
| 1391 | if ( ! defined( 'AI1WMSE_PLUGIN_KEY' ) ) { |
| 1392 | define( 'AI1WMSE_PLUGIN_KEY', 'ai1wmse_plugin_key' ); |
| 1393 | } |
| 1394 | |
| 1395 | // ============================= |
| 1396 | // = Amazon S3 Extension Short = |
| 1397 | // ============================= |
| 1398 | if ( ! defined( 'AI1WMSE_PLUGIN_SHORT' ) ) { |
| 1399 | define( 'AI1WMSE_PLUGIN_SHORT', 's3' ); |
| 1400 | } |
| 1401 | |
| 1402 | // ================================ |
| 1403 | // = Unlimited Extension Base Dir = |
| 1404 | // ================================ |
| 1405 | if ( defined( 'AI1WMUE_PLUGIN_BASENAME' ) ) { |
| 1406 | define( 'AI1WMUE_PLUGIN_BASEDIR', dirname( AI1WMUE_PLUGIN_BASENAME ) ); |
| 1407 | } else { |
| 1408 | define( 'AI1WMUE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-unlimited-extension' ); |
| 1409 | } |
| 1410 | |
| 1411 | // ============================= |
| 1412 | // = Unlimited Extension Title = |
| 1413 | // ============================= |
| 1414 | if ( ! defined( 'AI1WMUE_PLUGIN_TITLE' ) ) { |
| 1415 | define( 'AI1WMUE_PLUGIN_TITLE', 'Unlimited Extension' ); |
| 1416 | } |
| 1417 | |
| 1418 | // ============================= |
| 1419 | // = Unlimited Extension About = |
| 1420 | // ============================= |
| 1421 | if ( ! defined( 'AI1WMUE_PLUGIN_ABOUT' ) ) { |
| 1422 | define( 'AI1WMUE_PLUGIN_ABOUT', 'https://plugin-updates.wp-migration.com/unlimited-extension.json' ); |
| 1423 | } |
| 1424 | |
| 1425 | // ============================= |
| 1426 | // = Unlimited Extension Check = |
| 1427 | // ============================= |
| 1428 | if ( ! defined( 'AI1WMUE_PLUGIN_CHECK' ) ) { |
| 1429 | define( 'AI1WMUE_PLUGIN_CHECK', 'https://redirect.wp-migration.com/v1/check/unlimited-extension' ); |
| 1430 | } |
| 1431 | |
| 1432 | // =========================== |
| 1433 | // = Unlimited Extension Key = |
| 1434 | // =========================== |
| 1435 | if ( ! defined( 'AI1WMUE_PLUGIN_KEY' ) ) { |
| 1436 | define( 'AI1WMUE_PLUGIN_KEY', 'ai1wmue_plugin_key' ); |
| 1437 | } |
| 1438 | |
| 1439 | // ============================= |
| 1440 | // = Unlimited Extension Short = |
| 1441 | // ============================= |
| 1442 | if ( ! defined( 'AI1WMUE_PLUGIN_SHORT' ) ) { |
| 1443 | define( 'AI1WMUE_PLUGIN_SHORT', 'unlimited' ); |
| 1444 | } |
| 1445 | |
| 1446 | // ========================== |
| 1447 | // = URL Extension Base Dir = |
| 1448 | // ========================== |
| 1449 | if ( defined( 'AI1WMLE_PLUGIN_BASENAME' ) ) { |
| 1450 | define( 'AI1WMLE_PLUGIN_BASEDIR', dirname( AI1WMLE_PLUGIN_BASENAME ) ); |
| 1451 | } else { |
| 1452 | define( 'AI1WMLE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-url-extension' ); |
| 1453 | } |
| 1454 | |
| 1455 | // ======================= |
| 1456 | // = URL Extension Title = |
| 1457 | // ======================= |
| 1458 | if ( ! defined( 'AI1WMLE_PLUGIN_TITLE' ) ) { |
| 1459 | define( 'AI1WMLE_PLUGIN_TITLE', 'URL Extension' ); |
| 1460 | } |
| 1461 | |
| 1462 | // ======================= |
| 1463 | // = URL Extension About = |
| 1464 | // ======================= |
| 1465 | if ( ! defined( 'AI1WMLE_PLUGIN_ABOUT' ) ) { |
| 1466 | define( 'AI1WMLE_PLUGIN_ABOUT', 'https://plugin-updates.wp-migration.com/url-extension.json' ); |
| 1467 | } |
| 1468 | |
| 1469 | // ======================= |
| 1470 | // = URL Extension Check = |
| 1471 | // ======================= |
| 1472 | if ( ! defined( 'AI1WMLE_PLUGIN_CHECK' ) ) { |
| 1473 | define( 'AI1WMLE_PLUGIN_CHECK', 'https://redirect.wp-migration.com/v1/check/url-extension' ); |
| 1474 | } |
| 1475 | |
| 1476 | // ===================== |
| 1477 | // = URL Extension Key = |
| 1478 | // ===================== |
| 1479 | if ( ! defined( 'AI1WMLE_PLUGIN_KEY' ) ) { |
| 1480 | define( 'AI1WMLE_PLUGIN_KEY', 'ai1wmle_plugin_key' ); |
| 1481 | } |
| 1482 | |
| 1483 | // ======================= |
| 1484 | // = URL Extension Short = |
| 1485 | // ======================= |
| 1486 | if ( ! defined( 'AI1WMLE_PLUGIN_SHORT' ) ) { |
| 1487 | define( 'AI1WMLE_PLUGIN_SHORT', 'url' ); |
| 1488 | } |
| 1489 | |
| 1490 | // ============================= |
| 1491 | // = WebDAV Extension Base Dir = |
| 1492 | // ============================= |
| 1493 | if ( defined( 'AI1WMWE_PLUGIN_BASENAME' ) ) { |
| 1494 | define( 'AI1WMWE_PLUGIN_BASEDIR', dirname( AI1WMWE_PLUGIN_BASENAME ) ); |
| 1495 | } else { |
| 1496 | define( 'AI1WMWE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-webdav-extension' ); |
| 1497 | } |
| 1498 | |
| 1499 | // ========================== |
| 1500 | // = WebDAV Extension Title = |
| 1501 | // ========================== |
| 1502 | if ( ! defined( 'AI1WMWE_PLUGIN_TITLE' ) ) { |
| 1503 | define( 'AI1WMWE_PLUGIN_TITLE', 'WebDAV Extension' ); |
| 1504 | } |
| 1505 | |
| 1506 | // ========================== |
| 1507 | // = WebDAV Extension About = |
| 1508 | // ========================== |
| 1509 | if ( ! defined( 'AI1WMWE_PLUGIN_ABOUT' ) ) { |
| 1510 | define( 'AI1WMWE_PLUGIN_ABOUT', 'https://plugin-updates.wp-migration.com/webdav-extension.json' ); |
| 1511 | } |
| 1512 | |
| 1513 | // ========================== |
| 1514 | // = WebDAV Extension Check = |
| 1515 | // ========================== |
| 1516 | if ( ! defined( 'AI1WMWE_PLUGIN_CHECK' ) ) { |
| 1517 | define( 'AI1WMWE_PLUGIN_CHECK', 'https://redirect.wp-migration.com/v1/check/webdav-extension' ); |
| 1518 | } |
| 1519 | |
| 1520 | // ======================== |
| 1521 | // = WebDAV Extension Key = |
| 1522 | // ======================== |
| 1523 | if ( ! defined( 'AI1WMWE_PLUGIN_KEY' ) ) { |
| 1524 | define( 'AI1WMWE_PLUGIN_KEY', 'ai1wmwe_plugin_key' ); |
| 1525 | } |
| 1526 | |
| 1527 | // ========================== |
| 1528 | // = WebDAV Extension Short = |
| 1529 | // ========================== |
| 1530 | if ( ! defined( 'AI1WMWE_PLUGIN_SHORT' ) ) { |
| 1531 | define( 'AI1WMWE_PLUGIN_SHORT', 'webdav' ); |
| 1532 | } |
| 1533 |