🔒 EXCLUSIVE: Changeset/ - Collection

Changeset 3307030


Ignore:
Timestamp:
06/05/2025 11:36:00 AM (7 months ago)
Author:
bangelov
Message:

Adding v7.95 to trunk

Location:
all-in-one-wp-migration/trunk
Files:
57 edited

Legend:

Unmodified
Added
Removed
  • all-in-one-wp-migration/trunk/all-in-one-wp-migration.php

    r3293214 r3307030  
    66 * Author: ServMask
    77 * Author URI: https://servmask.com/
    8  * Version: 7.94
     8 * Version: 7.95
    99 * Text Domain: all-in-one-wp-migration
    1010 * Domain Path: /languages
  • all-in-one-wp-migration/trunk/constants.php

    r3293214 r3307030  
    3838// = Plugin Version =
    3939// ==================
    40 define( 'AI1WM_VERSION', '7.94' );
     40define( 'AI1WM_VERSION', '7.95' );
    4141
    4242// ===============
     
    12811281// ====================
    12821282if ( ! defined( 'AI1WMKE_PLUGIN_TITLE' ) ) {
    1283     define( 'AI1WMKE_PLUGIN_TITLE', 'Pro Plugin' );
     1283    define( 'AI1WMKE_PLUGIN_TITLE', 'All-in-One WP Migration Pro' );
    12841284}
    12851285
     
    12881288// ====================
    12891289if ( ! defined( 'AI1WMKE_PLUGIN_ABOUT' ) ) {
    1290     define( 'AI1WMKE_PLUGIN_ABOUT', 'https://plugin-updates.wp-migration.com/pro-plugin.json' );
     1290    define( 'AI1WMKE_PLUGIN_ABOUT', 'https://plugin-updates.wp-migration.com/all-in-one-wp-migration-pro.json' );
    12911291}
    12921292
     
    12951295// ====================
    12961296if ( ! defined( 'AI1WMKE_PLUGIN_CHECK' ) ) {
    1297     define( 'AI1WMKE_PLUGIN_CHECK', 'https://redirect.wp-migration.com/v1/check/pro-plugin' );
     1297    define( 'AI1WMKE_PLUGIN_CHECK', 'https://redirect.wp-migration.com/v1/check/all-in-one-wp-migration-pro' );
    12981298}
    12991299
  • all-in-one-wp-migration/trunk/lib/controller/class-ai1wm-export-controller.php

    r3266064 r3307030  
    154154        }
    155155
     156        // Add Google Drive Extension
     157        if ( defined( 'AI1WMGE_PLUGIN_NAME' ) ) {
     158            $active_filters[] = apply_filters( 'ai1wm_export_gdrive', Ai1wm_Template::get_content( 'export/button-gdrive' ) );
     159        } else {
     160            $static_filters[] = apply_filters( 'ai1wm_export_gdrive', Ai1wm_Template::get_content( 'export/button-gdrive' ) );
     161        }
     162
    156163        // Add FTP Extension
    157164        if ( defined( 'AI1WMFE_PLUGIN_NAME' ) ) {
     
    168175        }
    169176
    170         // Add Google Drive Extension
    171         if ( defined( 'AI1WMGE_PLUGIN_NAME' ) ) {
    172             $active_filters[] = apply_filters( 'ai1wm_export_gdrive', Ai1wm_Template::get_content( 'export/button-gdrive' ) );
    173         } else {
    174             $static_filters[] = apply_filters( 'ai1wm_export_gdrive', Ai1wm_Template::get_content( 'export/button-gdrive' ) );
    175         }
    176 
    177177        // Add Amazon S3 Extension
    178178        if ( defined( 'AI1WMSE_PLUGIN_NAME' ) ) {
     
    182182        }
    183183
     184        // Add OneDrive Extension
     185        if ( defined( 'AI1WMOE_PLUGIN_NAME' ) ) {
     186            $active_filters[] = apply_filters( 'ai1wm_export_onedrive', Ai1wm_Template::get_content( 'export/button-onedrive' ) );
     187        } else {
     188            $static_filters[] = apply_filters( 'ai1wm_export_onedrive', Ai1wm_Template::get_content( 'export/button-onedrive' ) );
     189        }
     190
     191        // Add pCloud Extension
     192        if ( defined( 'AI1WMPE_PLUGIN_NAME' ) ) {
     193            $active_filters[] = apply_filters( 'ai1wm_export_pcloud', Ai1wm_Template::get_content( 'export/button-pcloud' ) );
     194        } else {
     195            $static_filters[] = apply_filters( 'ai1wm_export_pcloud', Ai1wm_Template::get_content( 'export/button-pcloud' ) );
     196        }
     197
     198        // Add S3 Client Extension
     199        if ( defined( 'AI1WMNE_PLUGIN_NAME' ) ) {
     200            $active_filters[] = apply_filters( 'ai1wm_export_s3_client', Ai1wm_Template::get_content( 'export/button-s3-client' ) );
     201        } else {
     202            $static_filters[] = apply_filters( 'ai1wm_export_s3_client', Ai1wm_Template::get_content( 'export/button-s3-client' ) );
     203        }
     204
     205        // Add Google Cloud Storage Extension
     206        if ( defined( 'AI1WMCE_PLUGIN_NAME' ) ) {
     207            $active_filters[] = apply_filters( 'ai1wm_export_gcloud_storage', Ai1wm_Template::get_content( 'export/button-gcloud-storage' ) );
     208        } else {
     209            $static_filters[] = apply_filters( 'ai1wm_export_gcloud_storage', Ai1wm_Template::get_content( 'export/button-gcloud-storage' ) );
     210        }
     211
     212        // Add DigitalOcean Spaces Extension
     213        if ( defined( 'AI1WMIE_PLUGIN_NAME' ) ) {
     214            $active_filters[] = apply_filters( 'ai1wm_export_digitalocean', Ai1wm_Template::get_content( 'export/button-digitalocean' ) );
     215        } else {
     216            $static_filters[] = apply_filters( 'ai1wm_export_digitalocean', Ai1wm_Template::get_content( 'export/button-digitalocean' ) );
     217        }
     218
     219        // Add Mega Extension
     220        if ( defined( 'AI1WMEE_PLUGIN_NAME' ) ) {
     221            $active_filters[] = apply_filters( 'ai1wm_export_mega', Ai1wm_Template::get_content( 'export/button-mega' ) );
     222        } else {
     223            $static_filters[] = apply_filters( 'ai1wm_export_mega', Ai1wm_Template::get_content( 'export/button-mega' ) );
     224        }
     225
    184226        // Add Backblaze B2 Extension
    185227        if ( defined( 'AI1WMAE_PLUGIN_NAME' ) ) {
     
    189231        }
    190232
    191         // Add OneDrive Extension
    192         if ( defined( 'AI1WMOE_PLUGIN_NAME' ) ) {
    193             $active_filters[] = apply_filters( 'ai1wm_export_onedrive', Ai1wm_Template::get_content( 'export/button-onedrive' ) );
    194         } else {
    195             $static_filters[] = apply_filters( 'ai1wm_export_onedrive', Ai1wm_Template::get_content( 'export/button-onedrive' ) );
    196         }
    197 
    198233        // Add Box Extension
    199234        if ( defined( 'AI1WMBE_PLUGIN_NAME' ) ) {
     
    203238        }
    204239
    205         // Add Mega Extension
    206         if ( defined( 'AI1WMEE_PLUGIN_NAME' ) ) {
    207             $active_filters[] = apply_filters( 'ai1wm_export_mega', Ai1wm_Template::get_content( 'export/button-mega' ) );
    208         } else {
    209             $static_filters[] = apply_filters( 'ai1wm_export_mega', Ai1wm_Template::get_content( 'export/button-mega' ) );
    210         }
    211 
    212         // Add DigitalOcean Spaces Extension
    213         if ( defined( 'AI1WMIE_PLUGIN_NAME' ) ) {
    214             $active_filters[] = apply_filters( 'ai1wm_export_digitalocean', Ai1wm_Template::get_content( 'export/button-digitalocean' ) );
    215         } else {
    216             $static_filters[] = apply_filters( 'ai1wm_export_digitalocean', Ai1wm_Template::get_content( 'export/button-digitalocean' ) );
    217         }
    218 
    219         // Add Google Cloud Storage Extension
    220         if ( defined( 'AI1WMCE_PLUGIN_NAME' ) ) {
    221             $active_filters[] = apply_filters( 'ai1wm_export_gcloud_storage', Ai1wm_Template::get_content( 'export/button-gcloud-storage' ) );
    222         } else {
    223             $static_filters[] = apply_filters( 'ai1wm_export_gcloud_storage', Ai1wm_Template::get_content( 'export/button-gcloud-storage' ) );
    224         }
    225 
    226240        // Add Microsoft Azure Extension
    227241        if ( defined( 'AI1WMZE_PLUGIN_NAME' ) ) {
     
    231245        }
    232246
     247        // Add WebDAV Extension
     248        if ( defined( 'AI1WMWE_PLUGIN_NAME' ) ) {
     249            $active_filters[] = apply_filters( 'ai1wm_export_webdav', Ai1wm_Template::get_content( 'export/button-webdav' ) );
     250        } else {
     251            $static_filters[] = apply_filters( 'ai1wm_export_webdav', Ai1wm_Template::get_content( 'export/button-webdav' ) );
     252        }
     253
    233254        // Add Amazon Glacier Extension
    234255        if ( defined( 'AI1WMRE_PLUGIN_NAME' ) ) {
     
    236257        } else {
    237258            $static_filters[] = apply_filters( 'ai1wm_export_glacier', Ai1wm_Template::get_content( 'export/button-glacier' ) );
    238         }
    239 
    240         // Add pCloud Extension
    241         if ( defined( 'AI1WMPE_PLUGIN_NAME' ) ) {
    242             $active_filters[] = apply_filters( 'ai1wm_export_pcloud', Ai1wm_Template::get_content( 'export/button-pcloud' ) );
    243         } else {
    244             $static_filters[] = apply_filters( 'ai1wm_export_pcloud', Ai1wm_Template::get_content( 'export/button-pcloud' ) );
    245         }
    246 
    247         // Add WebDAV Extension
    248         if ( defined( 'AI1WMWE_PLUGIN_NAME' ) ) {
    249             $active_filters[] = apply_filters( 'ai1wm_export_webdav', Ai1wm_Template::get_content( 'export/button-webdav' ) );
    250         } else {
    251             $static_filters[] = apply_filters( 'ai1wm_export_webdav', Ai1wm_Template::get_content( 'export/button-webdav' ) );
    252         }
    253 
    254         // Add S3 Client Extension
    255         if ( defined( 'AI1WMNE_PLUGIN_NAME' ) ) {
    256             $active_filters[] = apply_filters( 'ai1wm_export_s3_client', Ai1wm_Template::get_content( 'export/button-s3-client' ) );
    257         } else {
    258             $static_filters[] = apply_filters( 'ai1wm_export_s3_client', Ai1wm_Template::get_content( 'export/button-s3-client' ) );
    259259        }
    260260
  • all-in-one-wp-migration/trunk/lib/controller/class-ai1wm-import-controller.php

    r3266064 r3307030  
    167167        }
    168168
     169        // Add Google Drive Extension
     170        if ( defined( 'AI1WMGE_PLUGIN_NAME' ) ) {
     171            $active_filters[] = apply_filters( 'ai1wm_import_gdrive', Ai1wm_Template::get_content( 'import/button-gdrive' ) );
     172        } else {
     173            $static_filters[] = apply_filters( 'ai1wm_import_gdrive', Ai1wm_Template::get_content( 'import/button-gdrive' ) );
     174        }
     175
     176        // Add FTP Extension
     177        if ( defined( 'AI1WMFE_PLUGIN_NAME' ) ) {
     178            $active_filters[] = apply_filters( 'ai1wm_import_ftp', Ai1wm_Template::get_content( 'import/button-ftp' ) );
     179        } else {
     180            $static_filters[] = apply_filters( 'ai1wm_import_ftp', Ai1wm_Template::get_content( 'import/button-ftp' ) );
     181        }
     182
     183        // Add Dropbox Extension
     184        if ( defined( 'AI1WMDE_PLUGIN_NAME' ) ) {
     185            $active_filters[] = apply_filters( 'ai1wm_import_dropbox', Ai1wm_Template::get_content( 'import/button-dropbox' ) );
     186        } else {
     187            $static_filters[] = apply_filters( 'ai1wm_import_dropbox', Ai1wm_Template::get_content( 'import/button-dropbox' ) );
     188        }
     189
    169190        // Add URL Extension
    170191        if ( defined( 'AI1WMLE_PLUGIN_NAME' ) ) {
     
    174195        }
    175196
    176         // Add FTP Extension
    177         if ( defined( 'AI1WMFE_PLUGIN_NAME' ) ) {
    178             $active_filters[] = apply_filters( 'ai1wm_import_ftp', Ai1wm_Template::get_content( 'import/button-ftp' ) );
    179         } else {
    180             $static_filters[] = apply_filters( 'ai1wm_import_ftp', Ai1wm_Template::get_content( 'import/button-ftp' ) );
    181         }
    182 
    183         // Add Dropbox Extension
    184         if ( defined( 'AI1WMDE_PLUGIN_NAME' ) ) {
    185             $active_filters[] = apply_filters( 'ai1wm_import_dropbox', Ai1wm_Template::get_content( 'import/button-dropbox' ) );
    186         } else {
    187             $static_filters[] = apply_filters( 'ai1wm_import_dropbox', Ai1wm_Template::get_content( 'import/button-dropbox' ) );
    188         }
    189 
    190         // Add Google Drive Extension
    191