Plugin Directory

Changeset 1953632


Ignore:
Timestamp:
10/09/2018 02:21:45 AM (7 years ago)
Author:
conoha
Message:

updated.

Location:
wing-migrator/trunk/classes/utils
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wing-migrator/trunk/classes/utils/class-wwm-migration-tar.php

    r1949573 r1953632  
    7272                // exclude mu-plugins itself
    7373                continue;
    74             } elseif (strpos( $file_path, 'wing-migrator') !== false ) {
     74            } elseif (strpos( $file_path, '/plugins/wing-migrator') !== false ) {
    7575                // exclude migration plugin itself
    7676                continue;
    77             } elseif (strpos( $file_path, 'jetpack') !== false ) {
     77            } elseif (strpos( $file_path, '/plugins/jetpack') !== false ) {
    7878                // exclude jetpack plugin
    7979                continue;
    80             } elseif (strpos( $file_path, 'all-in-one-wp-migration') !== false ) {
     80            } elseif (strpos( $file_path, '/plugins/all-in-one-wp-migration') !== false ) {
    8181                // exclude All-in-One WP Migration plugin
    8282                continue;
    83             } elseif (strpos( $file_path, 'backwpup-') !== false ) {
     83            } elseif (strpos( $file_path, '/backwpup-') !== false ) {
    8484                // exclude backwpup plugin backup directory
    8585                continue;
  • wing-migrator/trunk/classes/utils/class-wwm-migration-zip.php

    r1949573 r1953632  
    8787            if ( $file_info->isDir() ) {
    8888                continue;
    89             } elseif (strpos( $file_path, 'mu-plugins') !== false ) {
     89            } elseif (strpos( $file_path, '/mu-plugins') !== false ) {
    9090                // exclude mu-plugins itself
    9191                continue;
    92             } elseif (strpos( $file_path, 'wing-migrator') !== false ) {
     92            } elseif (strpos( $file_path, '/plugins/wing-migrator') !== false ) {
    9393                // exclude migration plugin itself
    9494                continue;
    95             } elseif (strpos( $file_path, 'jetpack') !== false ) {
     95            } elseif (strpos( $file_path, '/plugins/jetpack') !== false ) {
    9696                // exclude jetpack plugin
    9797                continue;
    98             } elseif (strpos( $file_path, 'all-in-one-wp-migration') !== false ) {
     98            } elseif (strpos( $file_path, '/plugins/all-in-one-wp-migration') !== false ) {
    9999                // exclude All-in-One WP Migration plugin
    100100                continue;
    101             } elseif (strpos( $file_path, 'backwpup-') !== false ) {
     101            } elseif (strpos( $file_path, '/backwpup-') !== false ) {
    102102                // exclude backwpup plugin backup directory
    103103                continue;
Note: See TracChangeset for help on using the changeset viewer.