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