Version Description
Download this release
Release Info
Developer | deliciousbrains |
Plugin | WP Migrate DB |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0 to 1.0.1
- asset/dist/css/styles.css +1 -1
- asset/dist/js/{common-10.js → common-101.js} +0 -0
- asset/dist/js/{common-10.min.js → common-101.min.js} +0 -0
- asset/dist/js/{dismissable-notices-10.js → dismissable-notices-101.js} +0 -0
- asset/dist/js/{dismissable-notices-10.min.js → dismissable-notices-101.min.js} +0 -0
- asset/dist/js/{hook-10.js → hook-101.js} +0 -0
- asset/dist/js/{hook-10.min.js → hook-101.min.js} +0 -0
- asset/dist/js/import-10.min.js +0 -1
- asset/dist/js/{import-10.js → import-101.js} +12 -21
- asset/dist/js/import-101.min.js +1 -0
- asset/dist/js/{localStorage-10.js → localStorage-101.js} +0 -0
- asset/dist/js/{localStorage-10.min.js → localStorage-101.min.js} +0 -0
- asset/dist/js/{multisite-10.js → multisite-101.js} +0 -0
- asset/dist/js/{multisite-10.min.js → multisite-101.min.js} +0 -0
- asset/dist/js/{plugin-update-10.js → plugin-update-101.js} +0 -0
- asset/dist/js/{plugin-update-10.min.js → plugin-update-101.min.js} +0 -0
- asset/dist/js/{script-10.js → script-101.js} +0 -0
- asset/dist/js/{script-10.min.js → script-101.min.js} +0 -0
- class/wpmdb-compatibility.php +14 -7
- class/wpmdb.php +76 -8
- class/wpmdbpro-import.php +0 -502
- compatibility/wp-migrate-db-pro-compatibility.php +1 -1
- languages/wp-migrate-db-en.pot +169 -169
- readme.txt +5 -1
- wp-migrate-db.php +2 -2
asset/dist/css/styles.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
#wpmdb-main{width:742px;position:relative;min-height:950px}.wpmdb h2 ~ .error,.wpmdb h2 ~ .notice,.wpmdb h2 ~ .updated{clear:both}.wpmdb div.updated.warning,.wpmdb div.below-title.warning{max-width:742px;box-sizing:border-box;margin:10px 0}.wpmdb div.updated.warning p,.wpmdb div.below-title.warning p{font-size:13px;margin:0.5em 0}.wpmdb a{text-decoration:none}.wpmdb li{margin-bottom:5px;position:relative}.wpmdb ul{margin:0}.wpmdb input[type=checkbox],.wpmdb input[type=radio]{margin-right:5px;vertical-align:baseline;margin-top:0}.wpmdb input[type=text],.wpmdb input[type=password]{padding:5px}.wpmdb input[disabled=disabled]{cursor:default}.wpmdb label.disabled{color:#888;cursor:default}.wpmdb .option-section{border-bottom:1px solid #ccc;padding-bottom:20px;margin-bottom:20px}.wpmdb .option-section h3{font-size:18px;font-weight:normal}.wpmdb p.migrate-db{overflow:hidden;min-height:29px}.wpmdb p.migrate-db input{float:left}.wpmdb p.migrate-db img{float:left;margin:3px 0 0 5px}.wpmdb p.migrate-db .save-settings-button{margin-left:10px;display:none}.wpmdb .indent-wrap{margin-left:24px}.wpmdb .expandable-content{display:none;margin-top:10px}.wpmdb .expandable-content li:last-child{margin-bottom:0px}.wpmdb .header-wrapper{margin-bottom:10px}.wpmdb .header-expand-collapse{cursor:pointer;display:inline-block}.wpmdb .option-description{font-size:12px;color:#999;margin-left:8px;font-weight:normal}.wpmdb .option-group li:last-child{margin-bottom:0}.wpmdb .connection-status{display:none;overflow:auto}.wpmdb .connection-status.error{color:#9D1818}.wpmdb .copy-licence-to-remote-site{display:inline-block}.wpmdb .ajax-spinner{left:6px;position:relative;top:3px}.wpmdb div.message{margin:15px 0 0}.wpmdb .licence-wrap h3{margin:0 0 10px 0}.wpmdb .licence-input{clear:both;display:block;font-family:Consolas, Monaco, monospace;font-size:14px;margin-bottom:7px;padding:10px;width:418px}.wpmdb .register-licence{float:left;outline:none}.wpmdb .licence-status{color:#A21B1B;font-weight:bold;clear:both;padding-top:0.5em;margin:0}.wpmdb .licence-status.success{color:#333}.wpmdb .register-licence-ajax-spinner{margin:4px 0 0 8px}.wpmdb .return-to-profile-selection{margin-bottom:15px;display:inline-block}.wpmdb .return-to-profile-selection.bottom{margin-top:10px}.wpmdb h2.nav-tab-wrapper{margin-top:10px;margin-bottom:20px;padding-left:5px}.wpmdb h2.nav-tab-wrapper a.nav-tab-active{color:#464646;cursor:default}.wpmdb label{display:inline-block;clear:both}.wpmdb .migration-profile-options li{position:relative;width:520px}.wpmdb .migration-profile-options li a{padding:5px 10px;width:500px;border:1px solid #ddd;margin:0px 0px 7px;display:block;font-size:14px;color:#333}.wpmdb .migration-profile-options li a:hover{border-color:#bbb}.wpmdb .main-list-delete-profile-link{color:#999999;font-size:26px;font-weight:200;position:absolute;right:7px;top:4px;cursor:pointer}.wpmdb .main-list-delete-profile-link:hover{color:#444}.wpmdb .crumbs{overflow:hidden;border-bottom:1px solid #ccc;padding:12px 0}.wpmdb .crumbs .crumb{position:relative;display:block;float:left;margin-right:4px;padding-right:3px;font-size:13px;font-weight:bold}.wpmdb .crumbs span.crumb{padding-left:25px}.wpmdb .crumbs span.crumb:before{content:"\f345";position:absolute;left:0;top:0;display:inline-block;-webkit-font-smoothing:antialiased;font:normal 18px/1 'dashicons';vertical-align:middle}.wpmdb .option-group li{margin-bottom:5px}.wpmdb .option-group>li{margin-bottom:8px}.wpmdb .option-group li>label{font-size:14px;font-weight:bold}.wpmdb .option-group ul{display:none;margin:10px 0px 10px 25px}.wpmdb .option-group ul label{font-size:12px;font-weight:normal}.wpmdb .option-heading,.wpmdb .checkbox-label{font-size:14px;font-weight:bold}.wpmdb .checkbox-label input[type=checkbox]{margin-right:7px;position:relative;top:-1px}.wpmdb .expand-collapse-arrow{margin-right:9px}.wpmdb .migrate-selection{padding-top:20px}.wpmdb .migrate-connection-info{min-width:675px;margin:0}.wpmdb .migrate-tab .pull-push-connection-info{width:418px;height:65px;color:#333;font-family:Consolas, Monaco, monospace;font-size:15px;line-height:21px;padding:10px}.wpmdb .migrate-tab.import .table-options,.wpmdb .migrate-tab.import .exclude-post-types-options,.wpmdb .migrate-tab.import .advanced-options{margin-left:24px}.wpmdb .migrate-tab.import .import-find-replace-option,.wpmdb .migrate-tab.import .find-replace-options,.wpmdb .migrate-tab.import .advanced-options,.wpmdb .migrate-tab.import .table-options{border-bottom:none;margin-bottom:0}.wpmdb .migrate-tab.import .find-replace-rows,.wpmdb .migrate-tab.import .table-options,.wpmdb .migrate-tab.import .backup-options,.wpmdb .migrate-tab.import .exclude-post-types-options{border-top:1px solid #ccc;padding-top:20px}.wpmdb .basic-access-auth-wrapper{display:none;margin-bottom:5px}.wpmdb .auth-username,.wpmdb .auth-password{width:206px;margin-top:3px}.wpmdb .auth-password{width:207px}.wpmdb .connection-info-wrapper{display:none;width:670px}.wpmdb .connect-button{margin-top:2px}.wpmdb .temp-disabled{background-color:#EEEEEE;color:#888888;font-family:Consolas, Monaco, monospace;text-shadow:0 1px 0 #FFFFFF}.wpmdb .push-list ul{margin-bottom:0px}.wpmdb .find-heading,.wpmdb .replace-heading{float:left}.wpmdb .find-heading{width:382px}.wpmdb .replace-fields{border-collapse:collapse;border-spacing:0px}.wpmdb .replace-fields input{width:295px}.wpmdb .replace-fields tr td{padding-bottom:7px}.wpmdb .replace-fields tr:last-child td{padding-bottom:0px}.wpmdb .arrow-col{width:93px;text-align:center;vertical-align:middle}.wpmdb .right-arrow{font-size:36px;color:#aaa}.wpmdb .replace-right-col span{border-radius:50%;border:1px solid #ccc;background-color:#eee;width:16px;height:16px;display:inline-block;position:relative;top:4px;cursor:pointer}.wpmdb .replace-right-col span:hover{border-color:#aaa}.wpmdb .pin .sort-handle-col{opacity:0.5;cursor:default}.wpmdb .pin .sort-handle{cursor:default !important}.wpmdb .sort-handle-col{width:20px;cursor:-moz-grab}.wpmdb .sort-handle:before{content:"\f214";display:inline-block;-webkit-font-smoothing:antialiased;font:normal 20px/1 'dashicons';vertical-align:top;color:#aaa;background-color:transparent !important;margin-right:4px}.wpmdb .original-repeatable-field{display:none}.wpmdb .no-replaces-message{display:none;margin-bottom:0px}.wpmdb .inline-message.missing-replace{margin-top:15px;display:none}.wpmdb #new-path-missing-warning{margin-top:5px}.wpmdb .tables-header{display:inline-block}.wpmdb .expand-collapse-arrow{display:inline-block;position:relative;top:-2px;font-size:11px}.wpmdb .collapsed{-webkit-transform:scale(1) rotate(-90deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);transform:scale(1) rotate(-90deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg)}.wpmdb .select-deselect-divider{margin:0 6px}.wpmdb .select-wrap{display:none;margin-top:12px}.wpmdb .select-wrap .find-replace-msg{display:none}.wpmdb .select-post-types-wrap{display:block}.wpmdb .exclude-post-types-warning{font-size:13px;font-weight:bold;color:#9c1f1f}.wpmdb .exclude-post-types-warning p{margin:0 0 12px 0}.wpmdb .exclude-post-types-warning .find-replace-msg{display:none}.wpmdb .multiselect{min-width:550px;min-height:180px;margin-bottom:10px}.wpmdb .table-migrate-options li label{font-size:12px;font-weight:normal}.wpmdb .table-migrate-options li{margin-bottom:5px}.wpmdb .general-helper{border-radius:50%;border:1px solid #ccc;background-color:#eee;width:15px;height:15px;display:inline-block;position:relative;top:4px;margin-top:-4px;cursor:pointer;margin-left:2px}.wpmdb .general-helper:hover{border-color:#aaa}.wpmdb .general-helper:after{content:"?";color:#999999;font-size:10px;font-weight:bold;left:4px;position:absolute;top:-1px}.wpmdb .helper-message{padding:10px 16px;border-radius:3px;background-color:#fff;position:absolute;width:500px;z-index:9999;display:none;box-shadow:0px 0px 10px rgba(0,0,0,0.2)}.wpmdb .inline-message{padding:10px;border-radius:3px;margin-top:5px}.wpmdb .inline-message.error{border:1px solid #CC0000;background-color:#FFEBE8}.wpmdb .inline-message.warning{background-color:#FFFFE0;border:1px solid #E6DB55}.wpmdb .helper-message:after{content:'';border-bottom:8px solid transparent;border-right:8px solid #fff;border-top:8px solid transparent;display:block;height:0;left:-7px;position:absolute;top:11px;width:0}.wpmdb .helper-message.bottom:before{content:'';border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:8px solid #aaa;border-top:0;display:block;height:0;left:50%;margin-left:-8px;position:absolute;top:-9px;width:0}.wpmdb .helper-message.bottom:after{content:'';border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:8px solid #fff;border-top:0;display:block;height:0;left:50%;margin-left:-8px;position:absolute;top:-8px;width:0}.wpmdb .label-disabled{color:#888}.wpmdb .prefix-notice,.wpmdb .ssl-notice,.wpmdb .different-plugin-version-notice,.wpmdb .directory-permission-notice,.wpmdb .unrecognized-import-file-notice{background-color:#FFFFE0;border:1px solid #E6DB55;padding:15px;border-radius:3px;margin-bottom:15px;display:none}.wpmdb .prefix-notice p,.wpmdb .ssl-notice p,.wpmdb .different-plugin-version-notice p,.wpmdb .directory-permission-notice p,.wpmdb .unrecognized-import-file-notice p{margin-top:0px}.wpmdb .prefix-notice p:last-child,.wpmdb .ssl-notice p:last-child,.wpmdb .different-plugin-version-notice p:last-child,.wpmdb .directory-permission-notice p:last-child,.wpmdb .unrecognized-import-file-notice p:last-child{margin:0px}.wpmdb .different-plugin-version-notice,.wpmdb .directory-permission-notice{background-color:#FFEBE8;border-color:#CC0000}.wpmdb .different-plugin-version-notice a,.wpmdb .directory-permission-notice a{color:#CC0000;text-decoration:underline}.wpmdb .mixed-case-table-name-notice{display:none}.wpmdb .save-migration-profile-wrap li label{font-size:12px;font-weight:normal}.wpmdb .save-migration-profile-wrap li{margin-bottom:5px;padding-left:25px}.wpmdb .save-migration-profile-wrap .indent-wrap{margin-left:0px}.wpmdb .create-new-label{margin-right:8px}.wpmdb .create-new-profile{position:absolute;top:-5px}.wpmdb .replace-remove-row,.wpmdb .delete-profile{background-color:#eee;border:1px solid #ccc;border-radius:50% 50% 50% 50%;cursor:pointer;height:11px;left:5px;margin-left:2px;position:absolute;margin-top:-6px;top:50%;width:11px;display:block;background-position:50% 50%;background-size:6px 6px;background-repeat:no-repeat}.wpmdb .replace-remove-row:after,.wpmdb .delete-profile:after{content:"\00d7";left:2px;position:absolute;top:-3px;color:#aaa;font-size:12px}.wpmdb .replace-remove-row:after{position:relative}.wpmdb .replace-remove-row:hover,.wpmdb .delete-profile:hover{border-color:#aaa}.wpmdb .ajax-success-msg{font-weight:bold;margin-left:9px;position:absolute;display:inline-block}.wpmdb .migrate-db .ajax-success-msg{margin-top:3px}.wpmdb p img.save-profile-ajax-spinner{margin:6px 0 0 10px}.wpmdb .backup-description{left:20px;position:relative}.wpmdb .backup-option-disabled{margin-bottom:0px !important}.wpmdb .settings-tab{display:none}.wpmdb .settings-tab .slider{max-width:416px}.wpmdb .settings-tab .slider-label{display:block;margin-bottom:10px;float:left;width:50%}.wpmdb .settings-tab .slider-label span{vertical-align:middle}.wpmdb .settings-tab .slider-label-wrapper{max-width:416px;width:100%;position:relative;font-size:14px}.wpmdb .settings-tab .amount{width:50%;text-align:right;display:block;float:left}.wpmdb .settings-tab .slider-spinner{position:absolute;right:-35px;bottom:-13px}.wpmdb .settings-tab .slider-success-msg{right:-63px;bottom:-14px;position:absolute;font-weight:bold}.wpmdb .settings-tab .ui-slider{border:2px solid #fff;background:#fff;height:10px;border-radius:2px;position:relative;opacity:1}.wpmdb .settings-tab .ui-slider-handle{width:20px;height:20px;background:#ade7b5;border:2px solid #fff;border-radius:50%;display:block;position:absolute;top:-7px;outline:none;margin-left:-11px}.wpmdb .settings-tab .ui-slider-handle:active{background:#86db91;border-color:#eee}.wpmdb .settings-tab .ui-slider-range{background:#ade7b5;height:100%}.wpmdb .settings-tab .form-table{margin-top:0}.wpmdb .settings-tab .form-table h3,.wpmdb .settings-tab .form-table h4,.wpmdb .settings-tab .form-table p{margin:0;line-height:1.2}.wpmdb .settings-tab .form-table p.has-margin{margin-bottom:10px}.wpmdb .settings-tab .form-table h3{font-weight:normal}.wpmdb .settings-tab .form-table h4{font-size:15px}.wpmdb .settings-tab .form-table h4 .helper-message{font-weight:normal}.wpmdb .settings-tab .form-table h4 img.ajax-spinner{position:absolute;float:left;top:auto;left:auto;margin-top:1px}.wpmdb .settings-tab .form-table h4 .setting-status .ajax-success-msg{margin-left:6px}.wpmdb .settings-tab .form-table tr td{padding:10px 0}.wpmdb .settings-tab .form-table tr.wpmdb-setting-title td{padding-bottom:0}.wpmdb .settings-tab .form-table tr.wpmdb-setting-title td h3{margin:10px 0}.wpmdb .settings-tab .form-table tr:first-child td{padding-top:0}.wpmdb .settings-tab .form-table tr:first-child td h3{margin-top:0}.wpmdb .settings-tab .form-table tr td:first-child{vertical-align:top;min-width:100px;width:100px}@media screen and (max-width: 782px){.wpmdb .settings-tab .form-table tr td:first-child{width:auto}}.wpmdb .settings-tab .form-table tr.option-section.compatibility-mode td{padding-bottom:0}.wpmdb .settings-tab .form-table tr.option-section.compatibility-mode>td{padding:20px 0}.wpmdb .settings-tab .form-table tr.option-section.compatibility-mode .notification-message{margin:15px 0 0 0}.wpmdb .settings-tab .form-table tr.option-section.compatibility-mode .expandable-content{margin-top:15px}.wpmdb .settings-tab .form-table tr.option-section label{font-weight:normal;position:relative}.wpmdb .settings-tab .form-table tr.option-section li{margin-bottom:5px}.wpmdb .settings-tab .form-table tr.option-section li:last-child{margin-bottom:0px}.wpmdb .settings-tab .form-table tr.option-section.allow-remote-requests-wrap .ajax-spinner,.wpmdb .settings-tab .form-table tr.option-section.plugin-compatibility-section .ajax-spinner{right:-23px;left:inherit;top:0px;position:absolute}.wpmdb .settings-tab .form-table tr.option-section .bubble .ajax-spinner{right:-45px}.wpmdb .settings-tab .form-table tr.option-section .bubble .ajax-success-msg{right:-65px}.wpmdb .settings-tab .form-table tr.option-section td{padding-bottom:20px}.wpmdb .settings-tab .form-table tr.licence-wrap td{padding-top:0}.wpmdb .settings-tab .form-table tr.licence-wrap td .notification-message{margin:10px 0 0 0}.wpmdb .settings-tab .form-table tr.licence-wrap td #welcome-wrap{height:170px;padding-top:20px;box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);clear:both}.wpmdb .settings-tab .form-table tr.licence-wrap td #welcome-wrap #welcome-img{width:170px;height:170px;float:left}.wpmdb .settings-tab .form-table tr.licence-wrap td #welcome-wrap .welcome-text{height:130px;padding:20px 25px 20px 195px;background:#fff}.wpmdb .settings-tab .form-table tr.licence-wrap td #welcome-wrap .welcome-text h3{font-weight:lighter;font-size:22px;margin-bottom:10px}.wpmdb .settings-tab .form-table tr.licence-wrap td #welcome-wrap .welcome-text p{font-size:15px;line-height:1.5}.wpmdb .settings-tab .form-table tr.licence-wrap td #welcome-wrap .welcome-text a{font-weight:bold}.wpmdb .settings-tab .form-table tr.plugin-compatibility-section td{padding-top:0}.wpmdb .settings-tab .form-table .general-helper{width:20px}.wpmdb .settings-tab .form-table .general-helper:after{top:-1px;font-size:22px;height:20px;left:-1px}.wpmdb .settings-tab .setting-status{padding-left:6px}.wpmdb .settings-tab .slider-label span{font-weight:bold}.wpmdb .allow-remote-reqeusts{font-size:14px;font-weight:bold}.wpmdb .connection-info-label{margin-top:15px;margin-bottom:5px;display:block}.wpmdb .connection-info{clear:both;font-size:15px;line-height:21px;font-family:Consolas, Monaco, monospace;padding:10px 10px;height:67px;text-shadow:0px 1px 0px #fff;display:block;margin-bottom:7px;width:418px}.wpmdb .reset-button-wrap{width:418px}.wpmdb .reset-button-wrap .button{float:left;position:relative}.wpmdb .reset-button-wrap .button:first-of-type{margin-right:10px}.wpmdb .reset-button-wrap .button.copy-api-key .copy-api-key-confirmation{display:none;left:0;position:absolute;text-align:center;top:0;height:100%;width:100%;color:#333}.wpmdb .reset-button-wrap .reset-api-key-ajax-spinner{float:left;margin:4px 7px}.wpmdb .masked-licence{margin-top:0px}.wpmdb .bull{font-size:22px;position:relative;top:4px}.wpmdb .plugin-compatibility-wrap{padding:18px 18px 18px 100px;background-color:#e6e6e6;margin-left:0}.wpmdb .plugin-compatibility-wrap p:last-of-type{margin:10px 0 0 0}.wpmdb ul.plugin-compatibility-options{display:block;margin:10px 0 10px 0px}.wpmdb .plugin-compatibility-spinner{position:relative;top:3px;left:10px}.wpmdb .plugin-compatibility-success-msg{position:relative;left:10px;font-weight:bold}.wpmdb .wpmdb-switch{position:relative;display:inline-block;padding:2px;overflow:hidden;border-radius:2px;background-color:#d4d3d3;cursor:pointer}.wpmdb .wpmdb-switch.on{background-color:#ade7b5}.wpmdb .wpmdb-switch span{visibility:hidden;box-sizing:border-box;float:left;display:inline-block;height:100%;font-size:12px;line-height:20px;border-radius:2px;-webkit-border-radius:2px;font-weight:bold;padding:4px 8px;background:#fff;color:#8d8d8d;z-index:1}.wpmdb .wpmdb-switch span.on{color:#82d78b}.wpmdb .wpmdb-switch span.checked{visibility:visible}.wpmdb .wpmdb-switch.disabled{cursor:default;background:#e6e6e6}.wpmdb .wpmdb-switch.disabled span{background:#f1f1f1;color:#d6d6d6}.wpmdb .wpmdb-switch input[type="checkbox"]{position:absolute !important;top:0;left:0;opacity:0;z-index:-1}.wpmdb .help-tab{display:none}.wpmdb .help-tab h3{font-size:18px;font-weight:normal}.wpmdb .help-tab .support{border-bottom:1px solid #ccc;margin-bottom:25px;padding-bottom:18px}.wpmdb .help-tab .support p{width:640px}.wpmdb .help-tab .support .email a{font-size:12px}.wpmdb .help-tab .support .upgrade-to-pro{font-size:16px;font-weight:bold}.wpmdb .help-tab .support .upgrade-to-pro a{white-space:nowrap}.wpmdb .help-tab .support .ajax-spinner{top:2px}.wpmdb .help-tab .debug .ajax-spinner{top:6px}.wpmdb .help-tab .debug .ajax-success-msg{margin-top:5px}.wpmdb .help-tab .video-viewer{margin-bottom:30px;border:1px solid #ccc}.wpmdb .help-tab .videos{width:640px}.wpmdb .help-tab .videos ul>li{margin-bottom:30px;overflow:hidden;position:relative}.wpmdb .help-tab .videos ul>li a{overflow:hidden;display:block;width:320px;height:180px;float:left;margin-right:15px;position:relative;z-index:1;border:1px solid #ccc}.wpmdb .help-tab .videos ul>li a:before,.wpmdb .help-tab .videos ul>li a:after{position:absolute;content:" ";margin:auto;left:0;right:0;top:0;bottom:0}.wpmdb .help-tab .videos ul>li a:before{width:64px;height:64px;border-radius:64px;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);opacity:.8;border:1px solid #ddd;background-color:#fff;z-index:2}.wpmdb .help-tab .videos ul>li a:after{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);opacity:.8;border:21.33333px solid transparent;border-top-width:12.8px;border-bottom-width:12.8px;border-left-color:#333;background:transparent;display:block;left:25px;width:0px;height:0px;z-index:3}.wpmdb .help-tab .videos .video:last-child{margin-bottom:0px}.wpmdb .help-tab .videos img{width:320px;height:240px;position:relative;top:50%;margin-top:-120px}.wpmdb .help-tab .debug{width:640px;border-bottom:1px solid #CCCCCC;margin-bottom:25px;padding-bottom:28px}.wpmdb .help-tab .debug textarea{width:100%;min-height:200px;font-family:Consolas, Monaco, monospace;margin-bottom:5px}.wpmdb .help-tab h4{margin:0 0 0.2em 0}.wpmdb .help-tab p{margin:0 0 0.5em 0}.wpmdb .help-tab iframe{display:none}.wpmdb .addons-tab{display:none}.wpmdb .addons-tab .addon{position:relative;width:100%;min-height:138px;padding:25px 30px 30px 165px;box-sizing:border-box;color:#fff;margin-top:15px}.wpmdb .addons-tab .addon .actions{float:right;font-size:14px}.wpmdb .addons-tab .addon .actions>*{margin-right:10px}.wpmdb .addons-tab .addon .actions *:last-child{margin-right:0}.wpmdb .addons-tab .addon .actions .action{background-color:#fff;font-weight:bold;display:inline-block;padding:0.2em 0.4em}.wpmdb .addons-tab .addon .actions .action:hover{background-color:rgba(255,255,255,0.92)}.wpmdb .addons-tab .addon .actions .status{border-bottom:2px solid #fff;padding-bottom:0.1em}.wpmdb .addons-tab .addon h1{font-weight:normal;float:left;margin:0;margin-top:5px;color:#fff}.wpmdb .addons-tab .addon p{font-size:16px;line-height:1.2em;clear:both;margin:0}.wpmdb .addons-tab .addon p a{text-decoration:underline;color:#fff}.wpmdb .addons-tab .addon p a:hover{color:rgba(255,255,255,0.9)}.wpmdb .addons-tab .addon.wp-migrate-db-pro-media-files{background:#3fab3f url(../img/icon-media-files.svg) no-repeat 30px 30px;background-size:110px 85px}.wpmdb .addons-tab .addon.wp-migrate-db-pro-media-files .action{color:#3fab3f}.wpmdb .addons-tab .addon.wp-migrate-db-pro-cli{background:#272822 url(../img/icon-cli.svg) no-repeat 30px 30px;background-size:110px 97px;min-height:157px;color:#ddd}.wpmdb .addons-tab .addon.wp-migrate-db-pro-cli .action{color:#272822;background-color:#ddd}.wpmdb .addons-tab .addon.wp-migrate-db-pro-cli .action:hover{color:#272822;background-color:#eee}.wpmdb .addons-tab .addon.wp-migrate-db-pro-cli .status{border-bottom-color:#ddd}.wpmdb .addons-tab .addon.wp-migrate-db-pro-cli p a{color:#ddd}.wpmdb .addons-tab .addon.wp-migrate-db-pro-cli p a:hover{color:#f7f7f7}.wpmdb .addons-tab .addon.wp-migrate-db-pro-cli code{white-space:nowrap;margin:0;padding:0}.wpmdb .addons-tab .addon.wp-migrate-db-pro-multisite-tools{background:#a90000 url(../img/icon-multisite-tools.svg) no-repeat 30px 20px;background-size:110px 118px;min-height:157px}.wpmdb .addons-tab .addon.wp-migrate-db-pro-multisite-tools .action{color:#a90000}.wpmdb-not-pro .wpmdb .wpmdb-main{margin-top:15px}.wpmdb-not-pro .wpmdb .help-tab .support p{width:auto}#wpmdb-sidebar{position:absolute;top:-21px;right:-312px;width:292px}#wpmdb-sidebar .block{padding:20px;border:1px solid #ccc}#wpmdb-sidebar .subscribe{border-top:none}#wpmdb-sidebar .subscribe h2{padding:0;margin:0;margin-bottom:0.5em;color:#666;font-size:20px;line-height:1.2em;float:none}#wpmdb-sidebar .subscribe h3{font-size:16px;margin:0}#wpmdb-sidebar .subscribe p{margin:0}#wpmdb-sidebar .subscribe p.interesting{margin-bottom:1em;line-height:1.4}#wpmdb-sidebar .subscribe .links{margin-bottom:2em}#wpmdb-sidebar .subscribe .links a{text-decoration:none}#wpmdb-sidebar .subscribe .promise{color:#999;font-size:12px;line-height:1.4em}#wpmdb-sidebar .subscribe .field{margin-bottom:0.5em}#wpmdb-sidebar .subscribe .field p{margin-bottom:0.3em}#wpmdb-sidebar .subscribe .field.submit-button{margin-bottom:1em}#wpmdb-sidebar .testimonial{border-top:none}#wpmdb-sidebar .testimonial p{margin:0}#wpmdb-sidebar .testimonial .quote{font-size:20px}#wpmdb-sidebar .testimonial .author{white-space:nowrap;text-align:right}#wpmdb-sidebar .testimonial .stars{white-space:nowrap;margin-bottom:5px}#wpmdb-sidebar .testimonial .via{text-align:right;font-size:12px}#wpmdb-sidebar .testimonial .via a{color:#666}#wpmdb-sidebar .testimonial .via a:before{content:"\f301";display:inline-block;-webkit-font-smoothing:antialiased;font:normal 18px/1 'dashicons';vertical-align:top;margin-right:3px}@media (min--moz-device-pixel-ratio: 1.3), (-webkit-min-device-pixel-ratio: 1.3), (min-device-pixel-ratio: 1.3), (min-resolution: 1.3dppx){#wpmdb-sidebar .wpmdb-banner{background-image:url(../img/wp-migrate-db-pro@2x.jpg);background-size:292px 292px;width:292px;height:292px;display:block}#wpmdb-sidebar .wpmdb-banner img{display:none}}@media screen and (max-width: 1252px){#wpmdb-sidebar{position:relative;top:auto;right:auto;margin-top:50px}}body.mp6 input[type=checkbox]:disabled{opacity:1;border-color:#ccc}body.mp6 #wpmdb-main{font-size:14px}body.mp6 p{font-size:14px}body.mp6 .wrap>h1{float:left}body.mp6 .wrap h2{float:left}body.mp6 .wpmdb .content-tab{padding-top:15px}body.mp6 .wpmdb .migrate-tab{padding-top:0}body.mp6 .wpmdb input[type=checkbox],body.mp6 .wpmdb input[type=radio]{vertical-align:middle;margin-top:-4px}body.mp6 .wpmdb input[type=text],body.mp6 .wpmdb input[type=password]{padding:3px 5px}body.mp6 .wpmdb input.code{padding-top:6px}body.mp6 .wpmdb label{font-size:14px}body.mp6 .wpmdb h2.nav-tab-wrapper{float:none;margin-bottom:0;width:722px;font-size:23px;line-height:29px;padding:9px 0 0 5px}body.mp6 .wpmdb .help-tab h3{margin-top:0}body.mp6 .wpmdb .temp-disabled{background-color:#f9f9f9}body.mp6 .wpmdb .migration-profile-options li a{border-color:#ccc;color:#555;background-color:#e4e4e4}body.mp6 .wpmdb .migration-profile-options li a:hover{background-color:#fff;color:#464646}body.mp6 .wpmdb .connection-info,body.mp6 .wpmdb .migrate-tab .pull-push-connection-info{font-weight:bold;font-size:14px}body.mp6 .wpmdb .general-helper{border:0;width:auto;height:auto;top:auto;margin:0}body.mp6 .wpmdb .general-helper:after{content:"\f223";display:inline-block;-webkit-font-smoothing:antialiased;font:normal 22px/1 'dashicons';vertical-align:top;top:auto;left:auto;position:relative}body.mp6 .wpmdb .helper-message{font-size:14px;line-height:1.4em}body.mp6 .wpmdb .right-arrow{display:none}body.mp6 .wpmdb .arrow-col{width:52px}body.mp6 .wpmdb .arrow-col:after{content:"\f344";display:inline-block;-webkit-font-smoothing:antialiased;font:normal 22px/1 'dashicons';vertical-align:top;color:#999}body.mp6 .wpmdb .arrow-col:hover{cursor:pointer}body.mp6 .wpmdb .arrow-col:hover:after{color:#666}body.mp6 .wpmdb .arrow-col.disabled:after{opacity:0.5}body.mp6 .wpmdb .arrow-col.disabled:hover{cursor:default}body.mp6 .wpmdb .arrow-col.disabled:hover:after{color:#999}body.mp6 .wpmdb .find-heading{width:409px}body.mp6 .wpmdb .replace-fields input{width:304px}body.mp6 .wpmdb .replace-right-col span{border-color:#999}body.mp6 .wpmdb .replace-right-col span:hover{border-color:#666}body.mp6 .wpmdb .replace-add-row:after,body.mp6 .wpmdb .replace-add-row:before{background-color:#999}body.mp6 .wpmdb .replace-add-row:hover:after,body.mp6 .wpmdb .replace-add-row:hover:before{background-color:#666}body.mp6 .wpmdb .option-group.migrate-selection>li>label{font-size:16px}body.mp6 .wpmdb .saved-migration-profile-label{font-size:16px}body.mp6 .wpmdb .option-heading,body.mp6 .wpmdb .checkbox-label{font-size:16px}body.mp6 .wpmdb .checkbox-label input[type=checkbox]{top:auto}body.mp6 .wpmdb .return-to-profile-selection{font-size:14px}body.mp6 .wpmdb .option-description{font-size:13px}body.mp6 .wpmdb .save-migration-profile-wrap li{position:relative}body.mp6 .wpmdb .replace-remove-row,body.mp6 .wpmdb .delete-profile{border:0;border-radius:0;height:auto;width:auto;left:0;top:50%;margin-left:0}body.mp6 .wpmdb .replace-remove-row:after,body.mp6 .wpmdb .delete-profile:after{content:"\f153";display:inline-block;-webkit-font-smoothing:antialiased;font:normal 18px/1 'dashicons';vertical-align:middle;color:#999}body.mp6 .wpmdb .replace-remove-row:hover:after,body.mp6 .wpmdb .delete-profile:hover:after{color:#666}body.mp6 .wpmdb .row-action-buttons{position:relative;width:60px}body.mp6 .wpmdb .row-action-buttons .helper-message{width:320px}body.mp6 .wpmdb .row-action-buttons .replace-remove-row{margin-left:4px;border:0;border-radius:50%;height:22px;width:auto;left:0;top:0;display:block;float:left;position:relative;margin-top:0}body.mp6 .wpmdb .row-action-buttons .replace-remove-row:after{display:inline-block;vertical-align:top;top:auto;position:relative;left:auto;height:22px;line-height:22px}body.mp6 .wpmdb .row-action-buttons .general-helper{display:inline-block;position:static;margin-left:4px}body.mp6 .wpmdb .row-action-buttons .general-helper:first-child{margin-left:2px}body.mp6 .wpmdb .row-action-buttons .general-helper:after{display:inline-block;vertical-align:top;top:auto;left:auto;position:relative}body.mp6 .wpmdb .delete-profile:after{color:#ccc}body.mp6 .wpmdb .delete-profile:hover:after{color:#aaa}body.mp6 .wpmdb .addons-tab .addons-content>div:nth-child(1),body.mp6 .wpmdb .addons-tab .addons-content>article:nth-child(1){margin-top:0px}body.mp6 .wpmdb .addons-tab .addon h1{font-weight:300;font-size:25px;margin-top:2px}body.mp6 .wpmdb .addons-tab .addon.wp-migrate-db-pro-cli h1{margin-top:5px}body.mp6 .wpmdb .addons-tab .addon p{font-size:14px;line-height:1.4em}body.mp6 .wpmdb .help-tab .support p,body.mp6 .wpmdb .help-tab .support .email a{font-size:14px}body.mp6 .wpmdb .help-tab div.warning p{font-size:13px}body.mp6 .wpmdb .help-tab .videos h4,body.mp6 .wpmdb .help-tab .videos p{font-size:14px}body.mp6 .wpmdb .inline-message,body.mp6 .wpmdb .notification-message{border-radius:0;border:0;box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);padding:10px 14px;font-size:13px}body.mp6 .wpmdb .notification-message{margin-bottom:20px;background-color:#fff}body.mp6 .wpmdb .notification-message.ssl-notice,body.mp6 .wpmdb .notification-message.invalid-licence,body.mp6 .wpmdb .notification-message.unrecognized-import-file-notice{margin-bottom:0;margin-top:15px}body.mp6 .wpmdb .notification-message.backup-option-disabled{line-height:1.8em}body.mp6 .wpmdb .notification-message.backup-option-disabled a{text-decoration:underline}body.mp6 .wpmdb .notification-message.backup-option-disabled a:hover{text-decoration:none}body.mp6 .wpmdb .notification-message.backup-option-disabled .upload-directory-location{font-weight:bold}body.mp6 .wpmdb .notification-message p{font-size:13px;margin-top:0}body.mp6 .wpmdb .notification-message p:last-child{margin:0}body.mp6 .wpmdb .notification-message h4{margin-top:0}body.mp6 .wpmdb .notification-message a{color:#0074a2;text-decoration:none}body.mp6 .wpmdb .notification-message a:hover{color:#2ea2cc}body.mp6 .wpmdb div.notification-message.invalid-licence p:last-child{margin:0.5em 0}body.mp6 .wpmdb div.notification-message.invalid-licence p:last-child a.button{color:#555555}body.mp6 .wpmdb .inline-message.error,body.mp6 .wpmdb .notification-message.error-notice{border-left:4px solid #dd3d36;background-color:#fff}body.mp6 .wpmdb .inline-message.warning,body.mp6 .wpmdb .notification-message.warning-notice{background-color:#fff;border-left:4px solid #ffba00}body.mp6 .wpmdb .inline-message.success,body.mp6 .wpmdb .notification-message.success-notice{border-left:4px solid #7ad03a}body.mp6 .wpmdb .ssl-notice{margin-bottom:0}body.mp6 .wpmdb .different-plugin-version-notice,body.mp6 .wpmdb .directory-permission-notice{margin-bottom:10px}body.mp6 .wpmdb .licence-status{color:#444;float:left;font-weight:normal}body.mp6 #overlay{background-color:rgba(0,0,0,0.5)}body.mp6 .migration-progress-ajax-spinner{top:20px}#overlay{background-color:rgba(255,255,255,0.9);position:fixed;top:0;left:0;width:100%;height:100%;z-index:100000;overflow-x:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:opacity .3s ease-out;transition:opacity .3s ease-out}#overlay.show{opacity:1;display:-webkit-box;display:-ms-flexbox;display:flex}@media screen and (max-width: 700px){#overlay.show{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}}#overlay.hide{opacity:0;display:-webkit-box;display:-ms-flexbox;display:flex}@media screen and (max-width: 1120px){.wpmdb-not-pro #overlay.show{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}}.stage-tabs{margin:0;z-index:5}.stage-tabs .stage-tab{box-sizing:border-box;display:block;float:left;width:auto;height:45px;margin:0 5px -1px 0;background-color:#ddd;border:1px solid #aaa;padding:.5em 1.5em 0;line-height:1.3;text-align:center;text-transform:capitalize;color:#333;-webkit-transition:background-color .2s ease-in-out;transition:background-color .2s ease-in-out}.stage-tabs .stage-tab.active{background-color:#fff;border-bottom-color:#fff}.stage-tabs .stage-status{display:block;font-size:.8em;font-style:italic}.complete .stage-tabs .stage-tab:not(.active){cursor:pointer}.complete .stage-tabs .stage-tab:not(.active):hover{background-color:#eee}.migration-progress-stages{position:relative;margin:0 -30px 0;background:#fff;overflow-y:auto}.migration-progress-stages .migration-progress-stage-container{top:0;left:0;width:100%;padding:0}.migration-progress-stages .migration-progress-stage-container.queued,.migration-progress-stages .migration-progress-stage-container.complete{display:none}.migration-progress-stages .migration-progress-stage-container.active{display:block}.migration-progress-stages .migration-progress-stage-container.find_replace .progress-items .item-progress .size{display:none}.migration-progress-stages .migration-progress-stage-container.upload .progress-items,.migration-progress-stages .migration-progress-stage-container.import .progress-items{height:0px !important;opacity:0}.migration-progress-stages .truncation-notice{margin:-10px 30px 10px;padding:5px 10px;color:#999;text-align:center}.migration-progress-stages .hide-tables .truncation-notice{display:none}.migration-progress-stages .progress-items{position:relative;overflow-y:auto;padding:10px 30px 10px;z-index:0}.migration-progress-stages .item-progress{position:relative;background-color:#eee;overflow:hidden;margin:0 0 .8em 0;-webkit-transition:height .2s ease-in-out, margin .2s ease-in-out;transition:height .2s ease-in-out, margin .2s ease-in-out}.migration-progress-stages .item-progress .dashicons-yes.dashicons{position:absolute;right:.3em;top:0.12em;z-index:20;background:#333;color:#85d937;width:.75em;height:.75em;border-radius:50%;text-indent:-.18em;line-height:.8;vertical-align:2em;font-size:2em;opacity:0;-webkit-transition:opacity .3s ease-in;transition:opacity .3s ease-in;-webkit-transition-delay:.5s;transition-delay:.5s}.migration-progress-stages .item-progress.complete .dashicons-yes{opacity:1}.migration-progress-stages .item-progress .progress-bar{background:#85d937}.migration-progress-stages .item-progress .item-info{margin:0;position:relative;padding:.25em 0 .25em 1em;font-size:1em;z-index:10}.migration-progress-stages .hide-tables .progress-items{height:0px !important;opacity:0}@-webkit-keyframes progress-bg-anim{0%{background-position:0 0}100%{background-position:50px 50px}}@keyframes progress-bg-anim{0%{background-position:0 0}100%{background-position:50px 50px}}.clearfix:before,.clearfix:after{content:"";display:table}.clearfix:after{clear:both}.clearfix{zoom:1}.general-spinner{width:16px;height:16px}.migration-error{color:#a21b1b;display:block;max-height:400px;max-width:100%;overflow:auto;word-wrap:break-word}.migration-php-errors{display:none;margin:20px 0;overflow-y:scroll;height:180px}.progress-overlay-container{display:none;position:relative;background-color:#eee;padding:30px 30px 15px;box-shadow:0 0 10px rgba(0,0,0,0.5);cursor:default;font-size:14px;z-index:1;margin:0 10px;box-sizing:border-box;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-height:95%;overflow-y:hidden;-webkit-transition:opacity .3s ease-out, -webkit-transform .5s ease-out;transition:opacity .3s ease-out, transform .5s ease-out;width:700px;min-width:700px;-ms-flex-preferred-size:700px;flex-basis:700px;-webkit-box-flex:0;-ms-flex:0 1 0%;flex:0 1 0%}.progress-overlay-container.show{display:-webkit-box;display:-ms-flexbox;display:flex;opacity:1}.progress-overlay-container.hide{display:-webkit-box;display:-ms-flexbox;display:flex;opacity:0;-webkit-transform:translateY(-100%);transform:translateY(-100%)}.progress-overlay-container>div{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}.progress-overlay-container .migration-progress-stages{-webkit-box-flex:100;-ms-flex:100 1 auto;flex:100 1 auto}@media all and (-ms-high-contrast: none){.progress-overlay-container .migration-progress-stages{height:300px}}.progress-overlay-container .progress-title{margin-top:0;font-size:22px;font-weight:normal;width:85%;line-height:1.3}.progress-overlay-container .progress-title .domain-label{white-space:nowrap}.progress-overlay-container .progress-title .dashicons{display:inline;vertical-align:middle;margin-left:-.15em;padding-right:.3em;font-size:42px}.progress-overlay-container .progress-info-wrapper{margin-bottom:10px}.progress-overlay-container .progress-text{clear:left;float:left;width:100%}.progress-overlay-container .timer{position:absolute;top:35px;right:55px}.progress-overlay-container .progress-bar{position:absolute;top:0;left:0;height:100%;-webkit-transition:width 1s ease-out;transition:width 1s ease-out;z-index:0}.progress-overlay-container .stage-progress{display:none;text-transform:capitalize;padding:15px 30px 0;margin:0 -30px;height:65px;box-sizing:border-box;background:#fff;border-top:1px solid #aaa;z-index:100}.progress-overlay-container .stage-progress.active{display:block}.progress-overlay-container .stage-progress .lowercase{text-transform:lowercase}.progress-overlay-container .stage-progress .items-complete{margin-left:3em}.progress-overlay-container .stage-progress .progress-bar-wrapper{position:relative;height:10px;width:100%;background-color:#eee;margin:15px 0 10px;background-image:-webkit-linear-gradient(135deg, rgba(255,255,255,0.35) 25%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 50%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0.35) 75%, rgba(0,0,0,0) 75%, rgba(0,0,0,0));background-image:linear-gradient(-45deg, rgba(255,255,255,0.35) 25%,rgba(0,0,0,0) 25%,rgba(0,0,0,0) 50%,rgba(255,255,255,0.35) 50%,rgba(255,255,255,0.35) 75%,rgba(0,0,0,0) 75%,rgba(0,0,0,0));background-size:20px 20px;-webkit-animation:progress-bg-anim 5s linear infinite;animation:progress-bg-anim 5s linear infinite}.progress-overlay-container .stage-progress .progress-bar{background-color:#406fa4}.progress-overlay-container .stage-progress .show-hide-tables{display:block;float:right;cursor:pointer}.progress-overlay-container .stage-progress.import .show-hide-tables,.progress-overlay-container .stage-progress.upload .show-hide-tables{display:none}.progress-overlay-container .stage-progress.import .items-complete-wrap,.progress-overlay-container .stage-progress.upload .items-complete-wrap{display:none}.progress-overlay-container .stage-progress.find_replace .size-complete-wrap{display:none}.progress-overlay-container .stage-progress.find_replace .items-complete{margin-left:9em}.progress-overlay-container .progress-tables{overflow:hidden;margin-bottom:2px;padding:0 0 20px 0}.progress-overlay-container .progress-tables-hover-boxes{position:absolute;top:0px;left:0px;display:block;width:100%}.progress-overlay-container .progress-chunk-hover{display:block;float:left;height:35px;position:relative;top:-5px;z-index:1}.progress-overlay-container .progress-chunk{box-sizing:border-box;float:left;display:block;height:6px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;color:#999;position:relative;text-align:center}.progress-overlay-container .progress-chunk>span{padding:0px 3px;white-space:nowrap;text-overflow:ellipsis;margin-top:10px;display:inline-block}.progress-overlay-container .progress-label{padding:5px 10px;border:1px solid #ccc;border-radius:3px;background-color:#fff;font-family:Consolas, Monaco, monospace;font-size:12px;display:inline-block;top:-35px;position:absolute;opacity:0;-webkit-transition:opacity 200ms ease-in-out;transition:opacity 200ms ease-in-out}.progress-overlay-container .label-visible{opacity:1}.progress-overlay-container .progress-label:before{content:"";width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #ccc;display:block;position:absolute;bottom:-5px;left:50%;margin-left:-2px}.progress-overlay-container .progress-label:after{content:"";width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #fff;display:block;position:absolute;bottom:-4px;left:50%;margin-left:-2px}.progress-overlay-container .migration-progress-ajax-spinner{left:7px;position:relative;top:15px}.progress-overlay-container .close-progress-content{color:#999;cursor:pointer;font-size:26px;font-weight:200;position:absolute;right:10px;top:5px;padding:5px;display:none}.progress-overlay-container .close-progress-content:hover{color:#666;border-color:#aaa}.progress-overlay-container .migration-controls{display:block;-webkit-transition:opacity .2s ease-out;transition:opacity .2s ease-out;padding-top:15px}.progress-overlay-container .migration-controls.hidden{opacity:0;pointer-events:none}.progress-overlay-container .migration-controls span{float:left;text-align:center;display:block}.progress-overlay-container .migration-controls span:first-child{margin-right:10px;width:71px}.progress-overlay-container .migration-controls .pause-before-finalize{display:none;float:right;margin-top:5px}.progress-overlay-container .migration-controls #pause-before-finalize{margin-top:0}.progress-overlay-container .pro-version{margin-top:45px;padding-top:40px;position:relative;border-top:1px solid #ccc}.progress-overlay-container .pro-version iframe{position:absolute;top:40px;right:0;display:block}.progress-overlay-container .pro-version-content{padding-right:460px;min-height:255px}.progress-overlay-container .pro-version-content h1{line-height:1em;margin-top:0;font-size:20px}.progress-overlay-container .pro-version-content ul{margin-left:24px}.progress-overlay-container .pro-version-content li{position:relative;font-size:14px;line-height:1.4em;margin-bottom:15px;max-width:580px}.progress-overlay-container .pro-version-content .pro-quote{margin:0 0 20px 0;max-width:570px}.progress-overlay-container .pro-version-content .pro-quote .dashicons-star-filled{font-size:16px;width:16px;height:16px;position:relative;top:2px}.progress-overlay-container .pro-version-content .pro-quote-author{font-style:italic;white-space:nowrap}.progress-overlay-container.wpmdb-error{outline:3px solid #dc3232}@media screen and (max-width: 1096px){.progress-overlay-container .pro-version iframe{position:relative;top:auto;right:auto}.progress-overlay-container .pro-version-content{min-height:0;padding:0 0 20px 0}}.progress-overlay-container:not(.complete) .migration-progress-stages .item-progress:first-child{background-image:-webkit-linear-gradient(135deg, rgba(255,255,255,0.3) 25%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 50%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.3) 75%, rgba(0,0,0,0) 75%, rgba(0,0,0,0));background-image:linear-gradient(-45deg, rgba(255,255,255,0.3) 25%,rgba(0,0,0,0) 25%,rgba(0,0,0,0) 50%,rgba(255,255,255,0.3) 50%,rgba(255,255,255,0.3) 75%,rgba(0,0,0,0) 75%,rgba(0,0,0,0));background-size:50px 50px;-webkit-animation:progress-bg-anim 2s linear infinite;animation:progress-bg-anim 2s linear infinite}.progress-overlay-container.paused .active.stage-progress .progress-bar-wrapper{-webkit-animation-play-state:paused;animation-play-state:paused}.progress-overlay-container.paused .migration-progress-stages .item-progress:first-child{-webkit-animation-play-state:paused;animation-play-state:paused}.progress-overlay-container .migration-progress-stages .determining-media .item-progress:first-child{background-image:none;-webkit-animation:none;animation:none}.progress-overlay-container.cancelled .stage-tabs,.progress-overlay-container.cancelled .migration-progress-stages,.progress-overlay-container.cancelled .stage-progress.active,.progress-overlay-container.wpmdb-error .stage-tabs,.progress-overlay-container.wpmdb-error .migration-progress-stages,.progress-overlay-container.wpmdb-error .stage-progress.active{display:none}.migrate-tab>.pro-version{display:none}#overlay .pro-version{width:42%;padding-left:0;padding-right:0;-ms-flex-preferred-size:42%;flex-basis:42%;max-width:515px;min-width:400px;max-height:100%;-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2;font-size:14px;display:block;-webkit-transition:-webkit-transform .3s ease-out, opacity .3s ease-out, margin-left .2s .3s ease-in-out;transition:transform .3s ease-out, opacity .3s ease-out, margin-left .2s .3s ease-in-out}#overlay .pro-version.remove{margin-left:-525px !important}#overlay .pro-version .pro-version-content{padding:0 30px}#overlay .pro-version .pro-version-content h1{font-size:22px;font-weight:bold;margin:0 0 30px}#overlay .pro-version .pro-version-content li{margin-bottom:10px;padding-left:35px;position:relative}#overlay .pro-version .pro-version-content li .dashicons{display:block;position:absolute;font-size:2em;top:-3px;left:0}#overlay .pro-version .pro-version-content .pro-quote{border:1px solid #bbb;border-radius:3px;padding:15px 15px 15px 100px;margin:30px 0;position:relative;background:url("../img/mor10.png") no-repeat 15px 31px;background-size:51px 51px}@media (min--moz-device-pixel-ratio: 1.3), (-webkit-min-device-pixel-ratio: 1.3), (min-device-pixel-ratio: 1.3), (min-resolution: 1.3dppx){#overlay .pro-version .pro-version-content .pro-quote{background-image:url("../img/mor10@2x.png")}}#overlay .pro-version .pro-version-content .pro-quote p{margin:0;font-size:13px}#overlay .pro-version .pro-version-content .pro-quote .pro-quote-author{font-size:14px;font-weight:bold;color:#999;margin-bottom:5px}#overlay .pro-version .pro-version-content .pro-quote .pro-quote-author .dashicons{float:right;color:#999}#overlay .pro-version .pro-version-content .pro-quote .stars{position:absolute;bottom:0;left:0;width:100%;height:0;overflow:visible;text-align:center}#overlay .pro-version .pro-version-content .pro-quote .stars span{background:#eee;color:#999;margin-top:-.5em}#overlay .pro-version .pro-version-content .pro-quote .stars span:first-child{padding-left:.1em}#overlay .pro-version .pro-version-content .pro-quote .stars span:last-child{padding-right:.1em}#overlay .pro-version iframe,#overlay .pro-version .iframe{width:100%;height:289px;background:#000}#overlay .pro-version .button{display:block;position:relative;width:250px;margin:20px auto 10px;text-align:center}#overlay .pro-version .close-pro-version{color:#999;cursor:pointer;font-size:26px;font-weight:200;position:absolute;right:10px;top:5px;padding:5px;display:block}#overlay .pro-version .close-pro-version:hover{color:#666;border-color:#aaa}
|
1 |
+
#wpmdb-main{width:742px;position:relative;min-height:950px}.wpmdb h2 ~ .error,.wpmdb h2 ~ .notice,.wpmdb h2 ~ .updated{clear:both}.wpmdb div.updated.warning,.wpmdb div.below-title.warning{max-width:742px;box-sizing:border-box;margin:10px 0}.wpmdb div.updated.warning p,.wpmdb div.below-title.warning p{font-size:13px;margin:0.5em 0}.wpmdb a{text-decoration:none}.wpmdb li{margin-bottom:5px;position:relative}.wpmdb ul{margin:0}.wpmdb input[type=checkbox],.wpmdb input[type=radio]{margin-right:5px;vertical-align:baseline;margin-top:0}.wpmdb input[type=text],.wpmdb input[type=password]{padding:5px}.wpmdb input[disabled=disabled]{cursor:default}.wpmdb label.disabled{color:#888;cursor:default}.wpmdb .option-section{border-bottom:1px solid #ccc;padding-bottom:20px;margin-bottom:20px}.wpmdb .option-section h3{font-size:18px;font-weight:normal}.wpmdb p.migrate-db{overflow:hidden;min-height:29px}.wpmdb p.migrate-db input{float:left}.wpmdb p.migrate-db img{float:left;margin:3px 0 0 5px}.wpmdb p.migrate-db .save-settings-button{margin-left:10px;display:none}.wpmdb .indent-wrap{margin-left:24px}.wpmdb .expandable-content{display:none;margin-top:10px}.wpmdb .expandable-content li:last-child{margin-bottom:0px}.wpmdb .header-wrapper{margin-bottom:10px}.wpmdb .header-expand-collapse{cursor:pointer;display:inline-block}.wpmdb .option-description{font-size:12px;color:#999;margin-left:8px;font-weight:normal}.wpmdb .option-group li:last-child{margin-bottom:0}.wpmdb .connection-status{display:none;overflow:auto}.wpmdb .connection-status.error{color:#9D1818}.wpmdb .copy-licence-to-remote-site{display:inline-block}.wpmdb .ajax-spinner{left:6px;position:relative;top:3px}.wpmdb div.message{margin:15px 0 0}.wpmdb .licence-wrap h3{margin:0 0 10px 0}.wpmdb .licence-input{clear:both;display:block;font-family:Consolas, Monaco, monospace;font-size:14px;margin-bottom:7px;padding:10px;width:418px}.wpmdb .register-licence{float:left;outline:none}.wpmdb .licence-status{color:#A21B1B;font-weight:bold;clear:both;padding-top:0.5em;margin:0}.wpmdb .licence-status.success{color:#333}.wpmdb .register-licence-ajax-spinner{margin:4px 0 0 8px}.wpmdb .return-to-profile-selection{margin-bottom:15px;display:inline-block}.wpmdb .return-to-profile-selection.bottom{margin-top:10px}.wpmdb h2.nav-tab-wrapper{margin-top:10px;margin-bottom:20px;padding-left:5px}.wpmdb h2.nav-tab-wrapper a.nav-tab-active{color:#464646;cursor:default}.wpmdb label{display:inline-block;clear:both}.wpmdb .migration-profile-options li{position:relative;width:520px}.wpmdb .migration-profile-options li a{padding:5px 10px;width:500px;border:1px solid #ddd;margin:0px 0px 7px;display:block;font-size:14px;color:#333}.wpmdb .migration-profile-options li a:hover{border-color:#bbb}.wpmdb .main-list-delete-profile-link{color:#999999;font-size:26px;font-weight:200;position:absolute;right:7px;top:4px;cursor:pointer}.wpmdb .main-list-delete-profile-link:hover{color:#444}.wpmdb .crumbs{overflow:hidden;border-bottom:1px solid #ccc;padding:12px 0}.wpmdb .crumbs .crumb{position:relative;display:block;float:left;margin-right:4px;padding-right:3px;font-size:13px;font-weight:bold}.wpmdb .crumbs span.crumb{padding-left:25px}.wpmdb .crumbs span.crumb:before{content:"\f345";position:absolute;left:0;top:0;display:inline-block;-webkit-font-smoothing:antialiased;font:normal 18px/1 'dashicons';vertical-align:middle}.wpmdb .option-group li{margin-bottom:5px}.wpmdb .option-group>li{margin-bottom:8px}.wpmdb .option-group li>label{font-size:14px;font-weight:bold}.wpmdb .option-group ul{display:none;margin:10px 0px 10px 25px}.wpmdb .option-group ul label{font-size:12px;font-weight:normal}.wpmdb .option-heading,.wpmdb .checkbox-label{font-size:14px;font-weight:bold}.wpmdb .checkbox-label input[type=checkbox]{margin-right:7px;position:relative;top:-1px}.wpmdb .expand-collapse-arrow{margin-right:9px}.wpmdb .migrate-selection{padding-top:20px}.wpmdb .migrate-connection-info{min-width:675px;margin:0}.wpmdb .migrate-tab .pull-push-connection-info{width:418px;height:65px;color:#333;font-family:Consolas, Monaco, monospace;font-size:15px;line-height:21px;padding:10px}.wpmdb .migrate-tab.import .table-options,.wpmdb .migrate-tab.import .exclude-post-types-options,.wpmdb .migrate-tab.import .advanced-options{margin-left:24px;display:none !important}.wpmdb .migrate-tab.import .find-replace-options,.wpmdb .migrate-tab.import .advanced-options,.wpmdb .migrate-tab.import .table-options{border-bottom:none;margin-bottom:0}.wpmdb .migrate-tab.import .table-options,.wpmdb .migrate-tab.import .exclude-post-types-options{border-top:1px solid #ccc;padding-top:20px}.wpmdb .basic-access-auth-wrapper{display:none;margin-bottom:5px}.wpmdb .auth-username,.wpmdb .auth-password{width:206px;margin-top:3px}.wpmdb .auth-password{width:207px}.wpmdb .connection-info-wrapper{display:none;width:670px}.wpmdb .connect-button{margin-top:2px}.wpmdb .temp-disabled{background-color:#EEEEEE;color:#888888;font-family:Consolas, Monaco, monospace;text-shadow:0 1px 0 #FFFFFF}.wpmdb .push-list ul{margin-bottom:0px}.wpmdb .find-heading,.wpmdb .replace-heading{float:left}.wpmdb .find-heading{width:382px}.wpmdb .replace-fields{border-collapse:collapse;border-spacing:0px}.wpmdb .replace-fields input{width:295px}.wpmdb .replace-fields tr td{padding-bottom:7px}.wpmdb .replace-fields tr:last-child td{padding-bottom:0px}.wpmdb .arrow-col{width:93px;text-align:center;vertical-align:middle}.wpmdb .right-arrow{font-size:36px;color:#aaa}.wpmdb .replace-right-col span{border-radius:50%;border:1px solid #ccc;background-color:#eee;width:16px;height:16px;display:inline-block;position:relative;top:4px;cursor:pointer}.wpmdb .replace-right-col span:hover{border-color:#aaa}.wpmdb .pin .sort-handle-col{opacity:0.5;cursor:default}.wpmdb .pin .sort-handle{cursor:default !important}.wpmdb .sort-handle-col{width:20px;cursor:-moz-grab}.wpmdb .sort-handle:before{content:"\f214";display:inline-block;-webkit-font-smoothing:antialiased;font:normal 20px/1 'dashicons';vertical-align:top;color:#aaa;background-color:transparent !important;margin-right:4px}.wpmdb .original-repeatable-field{display:none}.wpmdb .no-replaces-message{display:none;margin-bottom:0px}.wpmdb .inline-message.missing-replace{margin-top:15px;display:none}.wpmdb #new-path-missing-warning{margin-top:5px}.wpmdb .tables-header{display:inline-block}.wpmdb .expand-collapse-arrow{display:inline-block;position:relative;top:-2px;font-size:11px}.wpmdb .collapsed{-webkit-transform:scale(1) rotate(-90deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);transform:scale(1) rotate(-90deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg)}.wpmdb .select-deselect-divider{margin:0 6px}.wpmdb .select-wrap{display:none;margin-top:12px}.wpmdb .select-wrap .find-replace-msg{display:none}.wpmdb .select-post-types-wrap{display:block}.wpmdb .exclude-post-types-warning{font-size:13px;font-weight:bold;color:#9c1f1f}.wpmdb .exclude-post-types-warning p{margin:0 0 12px 0}.wpmdb .exclude-post-types-warning .find-replace-msg{display:none}.wpmdb .multiselect{min-width:550px;min-height:180px;margin-bottom:10px}.wpmdb .table-migrate-options li label{font-size:12px;font-weight:normal}.wpmdb .table-migrate-options li{margin-bottom:5px}.wpmdb .general-helper{border-radius:50%;border:1px solid #ccc;background-color:#eee;width:15px;height:15px;display:inline-block;position:relative;top:4px;margin-top:-4px;cursor:pointer;margin-left:2px}.wpmdb .general-helper:hover{border-color:#aaa}.wpmdb .general-helper:after{content:"?";color:#999999;font-size:10px;font-weight:bold;left:4px;position:absolute;top:-1px}.wpmdb .helper-message{padding:10px 16px;border-radius:3px;background-color:#fff;position:absolute;width:500px;z-index:9999;display:none;box-shadow:0px 0px 10px rgba(0,0,0,0.2)}.wpmdb .inline-message{padding:10px;border-radius:3px;margin-top:5px}.wpmdb .inline-message.error{border:1px solid #CC0000;background-color:#FFEBE8}.wpmdb .inline-message.warning{background-color:#FFFFE0;border:1px solid #E6DB55}.wpmdb .helper-message:after{content:'';border-bottom:8px solid transparent;border-right:8px solid #fff;border-top:8px solid transparent;display:block;height:0;left:-7px;position:absolute;top:11px;width:0}.wpmdb .helper-message.bottom:before{content:'';border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:8px solid #aaa;border-top:0;display:block;height:0;left:50%;margin-left:-8px;position:absolute;top:-9px;width:0}.wpmdb .helper-message.bottom:after{content:'';border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:8px solid #fff;border-top:0;display:block;height:0;left:50%;margin-left:-8px;position:absolute;top:-8px;width:0}.wpmdb .label-disabled{color:#888}.wpmdb .prefix-notice,.wpmdb .ssl-notice,.wpmdb .different-plugin-version-notice,.wpmdb .directory-permission-notice,.wpmdb .unrecognized-import-file-notice{background-color:#FFFFE0;border:1px solid #E6DB55;padding:15px;border-radius:3px;margin-bottom:15px;display:none}.wpmdb .prefix-notice p,.wpmdb .ssl-notice p,.wpmdb .different-plugin-version-notice p,.wpmdb .directory-permission-notice p,.wpmdb .unrecognized-import-file-notice p{margin-top:0px}.wpmdb .prefix-notice p:last-child,.wpmdb .ssl-notice p:last-child,.wpmdb .different-plugin-version-notice p:last-child,.wpmdb .directory-permission-notice p:last-child,.wpmdb .unrecognized-import-file-notice p:last-child{margin:0px}.wpmdb .different-plugin-version-notice,.wpmdb .directory-permission-notice{background-color:#FFEBE8;border-color:#CC0000}.wpmdb .different-plugin-version-notice a,.wpmdb .directory-permission-notice a{color:#CC0000;text-decoration:underline}.wpmdb .mixed-case-table-name-notice{display:none}.wpmdb .save-migration-profile-wrap li label{font-size:12px;font-weight:normal}.wpmdb .save-migration-profile-wrap li{margin-bottom:5px;padding-left:25px}.wpmdb .save-migration-profile-wrap .indent-wrap{margin-left:0px}.wpmdb .create-new-label{margin-right:8px}.wpmdb .create-new-profile{position:absolute;top:-5px}.wpmdb .replace-remove-row,.wpmdb .delete-profile{background-color:#eee;border:1px solid #ccc;border-radius:50% 50% 50% 50%;cursor:pointer;height:11px;left:5px;margin-left:2px;position:absolute;margin-top:-6px;top:50%;width:11px;display:block;background-position:50% 50%;background-size:6px 6px;background-repeat:no-repeat}.wpmdb .replace-remove-row:after,.wpmdb .delete-profile:after{content:"\00d7";left:2px;position:absolute;top:-3px;color:#aaa;font-size:12px}.wpmdb .replace-remove-row:after{position:relative}.wpmdb .replace-remove-row:hover,.wpmdb .delete-profile:hover{border-color:#aaa}.wpmdb .ajax-success-msg{font-weight:bold;margin-left:9px;position:absolute;display:inline-block}.wpmdb .migrate-db .ajax-success-msg{margin-top:3px}.wpmdb p img.save-profile-ajax-spinner{margin:6px 0 0 10px}.wpmdb .backup-description{left:20px;position:relative}.wpmdb .backup-option-disabled{margin-bottom:0px !important}.wpmdb .settings-tab{display:none}.wpmdb .settings-tab .slider{max-width:416px}.wpmdb .settings-tab .slider-label{display:block;margin-bottom:10px;float:left;width:50%}.wpmdb .settings-tab .slider-label span{vertical-align:middle}.wpmdb .settings-tab .slider-label-wrapper{max-width:416px;width:100%;position:relative;font-size:14px}.wpmdb .settings-tab .amount{width:50%;text-align:right;display:block;float:left}.wpmdb .settings-tab .slider-spinner{position:absolute;right:-35px;bottom:-13px}.wpmdb .settings-tab .slider-success-msg{right:-63px;bottom:-14px;position:absolute;font-weight:bold}.wpmdb .settings-tab .ui-slider{border:2px solid #fff;background:#fff;height:10px;border-radius:2px;position:relative;opacity:1}.wpmdb .settings-tab .ui-slider-handle{width:20px;height:20px;background:#ade7b5;border:2px solid #fff;border-radius:50%;display:block;position:absolute;top:-7px;outline:none;margin-left:-11px}.wpmdb .settings-tab .ui-slider-handle:active{background:#86db91;border-color:#eee}.wpmdb .settings-tab .ui-slider-range{background:#ade7b5;height:100%}.wpmdb .settings-tab .form-table{margin-top:0}.wpmdb .settings-tab .form-table h3,.wpmdb .settings-tab .form-table h4,.wpmdb .settings-tab .form-table p{margin:0;line-height:1.2}.wpmdb .settings-tab .form-table p.has-margin{margin-bottom:10px}.wpmdb .settings-tab .form-table h3{font-weight:normal}.wpmdb .settings-tab .form-table h4{font-size:15px}.wpmdb .settings-tab .form-table h4 .helper-message{font-weight:normal}.wpmdb .settings-tab .form-table h4 img.ajax-spinner{position:absolute;float:left;top:auto;left:auto;margin-top:1px}.wpmdb .settings-tab .form-table h4 .setting-status .ajax-success-msg{margin-left:6px}.wpmdb .settings-tab .form-table tr td{padding:10px 0}.wpmdb .settings-tab .form-table tr.wpmdb-setting-title td{padding-bottom:0}.wpmdb .settings-tab .form-table tr.wpmdb-setting-title td h3{margin:10px 0}.wpmdb .settings-tab .form-table tr:first-child td{padding-top:0}.wpmdb .settings-tab .form-table tr:first-child td h3{margin-top:0}.wpmdb .settings-tab .form-table tr td:first-child{vertical-align:top;min-width:100px;width:100px}@media screen and (max-width: 782px){.wpmdb .settings-tab .form-table tr td:first-child{width:auto}}.wpmdb .settings-tab .form-table tr.option-section.compatibility-mode td{padding-bottom:0}.wpmdb .settings-tab .form-table tr.option-section.compatibility-mode>td{padding:20px 0}.wpmdb .settings-tab .form-table tr.option-section.compatibility-mode .notification-message{margin:15px 0 0 0}.wpmdb .settings-tab .form-table tr.option-section.compatibility-mode .expandable-content{margin-top:15px}.wpmdb .settings-tab .form-table tr.option-section label{font-weight:normal;position:relative}.wpmdb .settings-tab .form-table tr.option-section li{margin-bottom:5px}.wpmdb .settings-tab .form-table tr.option-section li:last-child{margin-bottom:0px}.wpmdb .settings-tab .form-table tr.option-section.allow-remote-requests-wrap .ajax-spinner,.wpmdb .settings-tab .form-table tr.option-section.plugin-compatibility-section .ajax-spinner{right:-23px;left:inherit;top:0px;position:absolute}.wpmdb .settings-tab .form-table tr.option-section .bubble .ajax-spinner{right:-45px}.wpmdb .settings-tab .form-table tr.option-section .bubble .ajax-success-msg{right:-65px}.wpmdb .settings-tab .form-table tr.option-section td{padding-bottom:20px}.wpmdb .settings-tab .form-table tr.licence-wrap td{padding-top:0}.wpmdb .settings-tab .form-table tr.licence-wrap td .notification-message{margin:10px 0 0 0}.wpmdb .settings-tab .form-table tr.licence-wrap td #welcome-wrap{height:170px;padding-top:20px;box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);clear:both}.wpmdb .settings-tab .form-table tr.licence-wrap td #welcome-wrap #welcome-img{width:170px;height:170px;float:left}.wpmdb .settings-tab .form-table tr.licence-wrap td #welcome-wrap .welcome-text{height:130px;padding:20px 25px 20px 195px;background:#fff}.wpmdb .settings-tab .form-table tr.licence-wrap td #welcome-wrap .welcome-text h3{font-weight:lighter;font-size:22px;margin-bottom:10px}.wpmdb .settings-tab .form-table tr.licence-wrap td #welcome-wrap .welcome-text p{font-size:15px;line-height:1.5}.wpmdb .settings-tab .form-table tr.licence-wrap td #welcome-wrap .welcome-text a{font-weight:bold}.wpmdb .settings-tab .form-table tr.plugin-compatibility-section td{padding-top:0}.wpmdb .settings-tab .form-table .general-helper{width:20px}.wpmdb .settings-tab .form-table .general-helper:after{top:-1px;font-size:22px;height:20px;left:-1px}.wpmdb .settings-tab .setting-status{padding-left:6px}.wpmdb .settings-tab .slider-label span{font-weight:bold}.wpmdb .allow-remote-reqeusts{font-size:14px;font-weight:bold}.wpmdb .connection-info-label{margin-top:15px;margin-bottom:5px;display:block}.wpmdb .connection-info{clear:both;font-size:15px;line-height:21px;font-family:Consolas, Monaco, monospace;padding:10px 10px;height:67px;text-shadow:0px 1px 0px #fff;display:block;margin-bottom:7px;width:418px}.wpmdb .reset-button-wrap{width:418px}.wpmdb .reset-button-wrap .button{float:left;position:relative}.wpmdb .reset-button-wrap .button:first-of-type{margin-right:10px}.wpmdb .reset-button-wrap .button.copy-api-key .copy-api-key-confirmation{display:none;left:0;position:absolute;text-align:center;top:0;height:100%;width:100%;color:#333}.wpmdb .reset-button-wrap .reset-api-key-ajax-spinner{float:left;margin:4px 7px}.wpmdb .masked-licence{margin-top:0px}.wpmdb .bull{font-size:22px;position:relative;top:4px}.wpmdb .plugin-compatibility-wrap{padding:18px 18px 18px 100px;background-color:#e6e6e6;margin-left:0}.wpmdb .plugin-compatibility-wrap p:last-of-type{margin:10px 0 0 0}.wpmdb ul.plugin-compatibility-options{display:block;margin:10px 0 10px 0px}.wpmdb .plugin-compatibility-spinner{position:relative;top:3px;left:10px}.wpmdb .plugin-compatibility-success-msg{position:relative;left:10px;font-weight:bold}.wpmdb .wpmdb-switch{position:relative;display:inline-block;padding:2px;overflow:hidden;border-radius:2px;background-color:#d4d3d3;cursor:pointer}.wpmdb .wpmdb-switch.on{background-color:#ade7b5}.wpmdb .wpmdb-switch span{visibility:hidden;box-sizing:border-box;float:left;display:inline-block;height:100%;font-size:12px;line-height:20px;border-radius:2px;-webkit-border-radius:2px;font-weight:bold;padding:4px 8px;background:#fff;color:#8d8d8d;z-index:1}.wpmdb .wpmdb-switch span.on{color:#82d78b}.wpmdb .wpmdb-switch span.checked{visibility:visible}.wpmdb .wpmdb-switch.disabled{cursor:default;background:#e6e6e6}.wpmdb .wpmdb-switch.disabled span{background:#f1f1f1;color:#d6d6d6}.wpmdb .wpmdb-switch input[type="checkbox"]{position:absolute !important;top:0;left:0;opacity:0;z-index:-1}.wpmdb .help-tab{display:none}.wpmdb .help-tab h3{font-size:18px;font-weight:normal}.wpmdb .help-tab .support{border-bottom:1px solid #ccc;margin-bottom:25px;padding-bottom:18px}.wpmdb .help-tab .support p{width:640px}.wpmdb .help-tab .support .email a{font-size:12px}.wpmdb .help-tab .support .upgrade-to-pro{font-size:16px;font-weight:bold}.wpmdb .help-tab .support .upgrade-to-pro a{white-space:nowrap}.wpmdb .help-tab .support .ajax-spinner{top:2px}.wpmdb .help-tab .debug .ajax-spinner{top:6px}.wpmdb .help-tab .debug .ajax-success-msg{margin-top:5px}.wpmdb .help-tab .video-viewer{margin-bottom:30px;border:1px solid #ccc}.wpmdb .help-tab .videos{width:640px}.wpmdb .help-tab .videos ul>li{margin-bottom:30px;overflow:hidden;position:relative}.wpmdb .help-tab .videos ul>li a{overflow:hidden;display:block;width:320px;height:180px;float:left;margin-right:15px;position:relative;z-index:1;border:1px solid #ccc}.wpmdb .help-tab .videos ul>li a:before,.wpmdb .help-tab .videos ul>li a:after{position:absolute;content:" ";margin:auto;left:0;right:0;top:0;bottom:0}.wpmdb .help-tab .videos ul>li a:before{width:64px;height:64px;border-radius:64px;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);opacity:.8;border:1px solid #ddd;background-color:#fff;z-index:2}.wpmdb .help-tab .videos ul>li a:after{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);opacity:.8;border:21.33333px solid transparent;border-top-width:12.8px;border-bottom-width:12.8px;border-left-color:#333;background:transparent;display:block;left:25px;width:0px;height:0px;z-index:3}.wpmdb .help-tab .videos .video:last-child{margin-bottom:0px}.wpmdb .help-tab .videos img{width:320px;height:240px;position:relative;top:50%;margin-top:-120px}.wpmdb .help-tab .debug{width:640px;border-bottom:1px solid #CCCCCC;margin-bottom:25px;padding-bottom:28px}.wpmdb .help-tab .debug textarea{width:100%;min-height:200px;font-family:Consolas, Monaco, monospace;margin-bottom:5px}.wpmdb .help-tab h4{margin:0 0 0.2em 0}.wpmdb .help-tab p{margin:0 0 0.5em 0}.wpmdb .help-tab iframe{display:none}.wpmdb .addons-tab{display:none}.wpmdb .addons-tab .addon{position:relative;width:100%;min-height:138px;padding:25px 30px 30px 165px;box-sizing:border-box;color:#fff;margin-top:15px}.wpmdb .addons-tab .addon .actions{float:right;font-size:14px}.wpmdb .addons-tab .addon .actions>*{margin-right:10px}.wpmdb .addons-tab .addon .actions *:last-child{margin-right:0}.wpmdb .addons-tab .addon .actions .action{background-color:#fff;font-weight:bold;display:inline-block;padding:0.2em 0.4em}.wpmdb .addons-tab .addon .actions .action:hover{background-color:rgba(255,255,255,0.92)}.wpmdb .addons-tab .addon .actions .status{border-bottom:2px solid #fff;padding-bottom:0.1em}.wpmdb .addons-tab .addon h1{font-weight:normal;float:left;margin:0;margin-top:5px;color:#fff}.wpmdb .addons-tab .addon p{font-size:16px;line-height:1.2em;clear:both;margin:0}.wpmdb .addons-tab .addon p a{text-decoration:underline;color:#fff}.wpmdb .addons-tab .addon p a:hover{color:rgba(255,255,255,0.9)}.wpmdb .addons-tab .addon.wp-migrate-db-pro-media-files{background:#3fab3f url(../img/icon-media-files.svg) no-repeat 30px 30px;background-size:110px 85px}.wpmdb .addons-tab .addon.wp-migrate-db-pro-media-files .action{color:#3fab3f}.wpmdb .addons-tab .addon.wp-migrate-db-pro-cli{background:#272822 url(../img/icon-cli.svg) no-repeat 30px 30px;background-size:110px 97px;min-height:157px;color:#ddd}.wpmdb .addons-tab .addon.wp-migrate-db-pro-cli .action{color:#272822;background-color:#ddd}.wpmdb .addons-tab .addon.wp-migrate-db-pro-cli .action:hover{color:#272822;background-color:#eee}.wpmdb .addons-tab .addon.wp-migrate-db-pro-cli .status{border-bottom-color:#ddd}.wpmdb .addons-tab .addon.wp-migrate-db-pro-cli p a{color:#ddd}.wpmdb .addons-tab .addon.wp-migrate-db-pro-cli p a:hover{color:#f7f7f7}.wpmdb .addons-tab .addon.wp-migrate-db-pro-cli code{white-space:nowrap;margin:0;padding:0}.wpmdb .addons-tab .addon.wp-migrate-db-pro-multisite-tools{background:#a90000 url(../img/icon-multisite-tools.svg) no-repeat 30px 20px;background-size:110px 118px;min-height:157px}.wpmdb .addons-tab .addon.wp-migrate-db-pro-multisite-tools .action{color:#a90000}.wpmdb-not-pro .wpmdb .wpmdb-main{margin-top:15px}.wpmdb-not-pro .wpmdb .help-tab .support p{width:auto}#wpmdb-sidebar{position:absolute;top:-21px;right:-312px;width:292px}#wpmdb-sidebar .block{padding:20px;border:1px solid #ccc}#wpmdb-sidebar .subscribe{border-top:none}#wpmdb-sidebar .subscribe h2{padding:0;margin:0;margin-bottom:0.5em;color:#666;font-size:20px;line-height:1.2em;float:none}#wpmdb-sidebar .subscribe h3{font-size:16px;margin:0}#wpmdb-sidebar .subscribe p{margin:0}#wpmdb-sidebar .subscribe p.interesting{margin-bottom:1em;line-height:1.4}#wpmdb-sidebar .subscribe .links{margin-bottom:2em}#wpmdb-sidebar .subscribe .links a{text-decoration:none}#wpmdb-sidebar .subscribe .promise{color:#999;font-size:12px;line-height:1.4em}#wpmdb-sidebar .subscribe .field{margin-bottom:0.5em}#wpmdb-sidebar .subscribe .field p{margin-bottom:0.3em}#wpmdb-sidebar .subscribe .field.submit-button{margin-bottom:1em}#wpmdb-sidebar .testimonial{border-top:none}#wpmdb-sidebar .testimonial p{margin:0}#wpmdb-sidebar .testimonial .quote{font-size:20px}#wpmdb-sidebar .testimonial .author{white-space:nowrap;text-align:right}#wpmdb-sidebar .testimonial .stars{white-space:nowrap;margin-bottom:5px}#wpmdb-sidebar .testimonial .via{text-align:right;font-size:12px}#wpmdb-sidebar .testimonial .via a{color:#666}#wpmdb-sidebar .testimonial .via a:before{content:"\f301";display:inline-block;-webkit-font-smoothing:antialiased;font:normal 18px/1 'dashicons';vertical-align:top;margin-right:3px}@media (min--moz-device-pixel-ratio: 1.3), (-webkit-min-device-pixel-ratio: 1.3), (min-device-pixel-ratio: 1.3), (min-resolution: 1.3dppx){#wpmdb-sidebar .wpmdb-banner{background-image:url(../img/wp-migrate-db-pro@2x.jpg);background-size:292px 292px;width:292px;height:292px;display:block}#wpmdb-sidebar .wpmdb-banner img{display:none}}@media screen and (max-width: 1252px){#wpmdb-sidebar{position:relative;top:auto;right:auto;margin-top:50px}}body.mp6 input[type=checkbox]:disabled{opacity:1;border-color:#ccc}body.mp6 #wpmdb-main{font-size:14px}body.mp6 p{font-size:14px}body.mp6 .wrap>h1{float:left}body.mp6 .wrap h2{float:left}body.mp6 .wpmdb .content-tab{padding-top:15px}body.mp6 .wpmdb .migrate-tab{padding-top:0}body.mp6 .wpmdb input[type=checkbox],body.mp6 .wpmdb input[type=radio]{vertical-align:middle;margin-top:-4px}body.mp6 .wpmdb input[type=text],body.mp6 .wpmdb input[type=password]{padding:3px 5px}body.mp6 .wpmdb input.code{padding-top:6px}body.mp6 .wpmdb label{font-size:14px}body.mp6 .wpmdb h2.nav-tab-wrapper{float:none;margin-bottom:0;width:722px;font-size:23px;line-height:29px;padding:9px 0 0 5px}body.mp6 .wpmdb .help-tab h3{margin-top:0}body.mp6 .wpmdb .temp-disabled{background-color:#f9f9f9}body.mp6 .wpmdb .migration-profile-options li a{border-color:#ccc;color:#555;background-color:#e4e4e4}body.mp6 .wpmdb .migration-profile-options li a:hover{background-color:#fff;color:#464646}body.mp6 .wpmdb .connection-info,body.mp6 .wpmdb .migrate-tab .pull-push-connection-info{font-weight:bold;font-size:14px}body.mp6 .wpmdb .general-helper{border:0;width:auto;height:auto;top:auto;margin:0}body.mp6 .wpmdb .general-helper:after{content:"\f223";display:inline-block;-webkit-font-smoothing:antialiased;font:normal 22px/1 'dashicons';vertical-align:top;top:auto;left:auto;position:relative}body.mp6 .wpmdb .helper-message{font-size:14px;line-height:1.4em}body.mp6 .wpmdb .right-arrow{display:none}body.mp6 .wpmdb .arrow-col{width:52px}body.mp6 .wpmdb .arrow-col:after{content:"\f344";display:inline-block;-webkit-font-smoothing:antialiased;font:normal 22px/1 'dashicons';vertical-align:top;color:#999}body.mp6 .wpmdb .arrow-col:hover{cursor:pointer}body.mp6 .wpmdb .arrow-col:hover:after{color:#666}body.mp6 .wpmdb .arrow-col.disabled:after{opacity:0.5}body.mp6 .wpmdb .arrow-col.disabled:hover{cursor:default}body.mp6 .wpmdb .arrow-col.disabled:hover:after{color:#999}body.mp6 .wpmdb .find-heading{width:409px}body.mp6 .wpmdb .replace-fields input{width:304px}body.mp6 .wpmdb .replace-right-col span{border-color:#999}body.mp6 .wpmdb .replace-right-col span:hover{border-color:#666}body.mp6 .wpmdb .replace-add-row:after,body.mp6 .wpmdb .replace-add-row:before{background-color:#999}body.mp6 .wpmdb .replace-add-row:hover:after,body.mp6 .wpmdb .replace-add-row:hover:before{background-color:#666}body.mp6 .wpmdb .option-group.migrate-selection>li>label{font-size:16px}body.mp6 .wpmdb .saved-migration-profile-label{font-size:16px}body.mp6 .wpmdb .option-heading,body.mp6 .wpmdb .checkbox-label{font-size:16px}body.mp6 .wpmdb .checkbox-label input[type=checkbox]{top:auto}body.mp6 .wpmdb .return-to-profile-selection{font-size:14px}body.mp6 .wpmdb .option-description{font-size:13px}body.mp6 .wpmdb .save-migration-profile-wrap li{position:relative}body.mp6 .wpmdb .replace-remove-row,body.mp6 .wpmdb .delete-profile{border:0;border-radius:0;height:auto;width:auto;left:0;top:50%;margin-left:0}body.mp6 .wpmdb .replace-remove-row:after,body.mp6 .wpmdb .delete-profile:after{content:"\f153";display:inline-block;-webkit-font-smoothing:antialiased;font:normal 18px/1 'dashicons';vertical-align:middle;color:#999}body.mp6 .wpmdb .replace-remove-row:hover:after,body.mp6 .wpmdb .delete-profile:hover:after{color:#666}body.mp6 .wpmdb .row-action-buttons{position:relative;width:60px}body.mp6 .wpmdb .row-action-buttons .helper-message{width:320px}body.mp6 .wpmdb .row-action-buttons .replace-remove-row{margin-left:4px;border:0;border-radius:50%;height:22px;width:auto;left:0;top:0;display:block;float:left;position:relative;margin-top:0}body.mp6 .wpmdb .row-action-buttons .replace-remove-row:after{display:inline-block;vertical-align:top;top:auto;position:relative;left:auto;height:22px;line-height:22px}body.mp6 .wpmdb .row-action-buttons .general-helper{display:inline-block;position:static;margin-left:4px}body.mp6 .wpmdb .row-action-buttons .general-helper:first-child{margin-left:2px}body.mp6 .wpmdb .row-action-buttons .general-helper:after{display:inline-block;vertical-align:top;top:auto;left:auto;position:relative}body.mp6 .wpmdb .delete-profile:after{color:#ccc}body.mp6 .wpmdb .delete-profile:hover:after{color:#aaa}body.mp6 .wpmdb .addons-tab .addons-content>div:nth-child(1),body.mp6 .wpmdb .addons-tab .addons-content>article:nth-child(1){margin-top:0px}body.mp6 .wpmdb .addons-tab .addon h1{font-weight:300;font-size:25px;margin-top:2px}body.mp6 .wpmdb .addons-tab .addon.wp-migrate-db-pro-cli h1{margin-top:5px}body.mp6 .wpmdb .addons-tab .addon p{font-size:14px;line-height:1.4em}body.mp6 .wpmdb .help-tab .support p,body.mp6 .wpmdb .help-tab .support .email a{font-size:14px}body.mp6 .wpmdb .help-tab div.warning p{font-size:13px}body.mp6 .wpmdb .help-tab .videos h4,body.mp6 .wpmdb .help-tab .videos p{font-size:14px}body.mp6 .wpmdb .inline-message,body.mp6 .wpmdb .notification-message{border-radius:0;border:0;box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);padding:10px 14px;font-size:13px}body.mp6 .wpmdb .notification-message{margin-bottom:20px;background-color:#fff}body.mp6 .wpmdb .notification-message.ssl-notice,body.mp6 .wpmdb .notification-message.invalid-licence,body.mp6 .wpmdb .notification-message.unrecognized-import-file-notice{margin-bottom:0;margin-top:15px}body.mp6 .wpmdb .notification-message.backup-option-disabled{line-height:1.8em}body.mp6 .wpmdb .notification-message.backup-option-disabled a{text-decoration:underline}body.mp6 .wpmdb .notification-message.backup-option-disabled a:hover{text-decoration:none}body.mp6 .wpmdb .notification-message.backup-option-disabled .upload-directory-location{font-weight:bold}body.mp6 .wpmdb .notification-message p{font-size:13px;margin-top:0}body.mp6 .wpmdb .notification-message p:last-child{margin:0}body.mp6 .wpmdb .notification-message h4{margin-top:0}body.mp6 .wpmdb .notification-message a{color:#0074a2;text-decoration:none}body.mp6 .wpmdb .notification-message a:hover{color:#2ea2cc}body.mp6 .wpmdb div.notification-message.invalid-licence p:last-child{margin:0.5em 0}body.mp6 .wpmdb div.notification-message.invalid-licence p:last-child a.button{color:#555555}body.mp6 .wpmdb .inline-message.error,body.mp6 .wpmdb .notification-message.error-notice{border-left:4px solid #dd3d36;background-color:#fff}body.mp6 .wpmdb .inline-message.warning,body.mp6 .wpmdb .notification-message.warning-notice{background-color:#fff;border-left:4px solid #ffba00}body.mp6 .wpmdb .inline-message.success,body.mp6 .wpmdb .notification-message.success-notice{border-left:4px solid #7ad03a}body.mp6 .wpmdb .ssl-notice{margin-bottom:0}body.mp6 .wpmdb .different-plugin-version-notice,body.mp6 .wpmdb .directory-permission-notice{margin-bottom:10px}body.mp6 .wpmdb .licence-status{color:#444;float:left;font-weight:normal}body.mp6 #overlay{background-color:rgba(0,0,0,0.5)}body.mp6 .migration-progress-ajax-spinner{top:20px}#overlay{background-color:rgba(255,255,255,0.9);position:fixed;top:0;left:0;width:100%;height:100%;z-index:100000;overflow-x:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:opacity .3s ease-out;transition:opacity .3s ease-out}#overlay.show{opacity:1;display:-webkit-box;display:-ms-flexbox;display:flex}@media screen and (max-width: 700px){#overlay.show{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}}#overlay.hide{opacity:0;display:-webkit-box;display:-ms-flexbox;display:flex}@media screen and (max-width: 1120px){.wpmdb-not-pro #overlay.show{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}}.stage-tabs{margin:0;z-index:5}.stage-tabs .stage-tab{box-sizing:border-box;display:block;float:left;width:auto;height:45px;margin:0 5px -1px 0;background-color:#ddd;border:1px solid #aaa;padding:.5em 1.5em 0;line-height:1.3;text-align:center;text-transform:capitalize;color:#333;-webkit-transition:background-color .2s ease-in-out;transition:background-color .2s ease-in-out}.stage-tabs .stage-tab.active{background-color:#fff;border-bottom-color:#fff}.stage-tabs .stage-status{display:block;font-size:.8em;font-style:italic}.complete .stage-tabs .stage-tab:not(.active){cursor:pointer}.complete .stage-tabs .stage-tab:not(.active):hover{background-color:#eee}.migration-progress-stages{position:relative;margin:0 -30px 0;background:#fff;overflow-y:auto}.migration-progress-stages .migration-progress-stage-container{top:0;left:0;width:100%;padding:0}.migration-progress-stages .migration-progress-stage-container.queued,.migration-progress-stages .migration-progress-stage-container.complete{display:none}.migration-progress-stages .migration-progress-stage-container.active{display:block}.migration-progress-stages .migration-progress-stage-container.find_replace .progress-items .item-progress .size{display:none}.migration-progress-stages .migration-progress-stage-container.upload .progress-items,.migration-progress-stages .migration-progress-stage-container.import .progress-items{height:0px !important;opacity:0}.migration-progress-stages .truncation-notice{margin:-10px 30px 10px;padding:5px 10px;color:#999;text-align:center}.migration-progress-stages .hide-tables .truncation-notice{display:none}.migration-progress-stages .progress-items{position:relative;overflow-y:auto;padding:10px 30px 10px;z-index:0}.migration-progress-stages .item-progress{position:relative;background-color:#eee;overflow:hidden;margin:0 0 .8em 0;-webkit-transition:height .2s ease-in-out, margin .2s ease-in-out;transition:height .2s ease-in-out, margin .2s ease-in-out}.migration-progress-stages .item-progress .dashicons-yes.dashicons{position:absolute;right:.3em;top:0.12em;z-index:20;background:#333;color:#85d937;width:.75em;height:.75em;border-radius:50%;text-indent:-.18em;line-height:.8;vertical-align:2em;font-size:2em;opacity:0;-webkit-transition:opacity .3s ease-in;transition:opacity .3s ease-in;-webkit-transition-delay:.5s;transition-delay:.5s}.migration-progress-stages .item-progress.complete .dashicons-yes{opacity:1}.migration-progress-stages .item-progress .progress-bar{background:#85d937}.migration-progress-stages .item-progress .item-info{margin:0;position:relative;padding:.25em 0 .25em 1em;font-size:1em;z-index:10}.migration-progress-stages .hide-tables .progress-items{height:0px !important;opacity:0}@-webkit-keyframes progress-bg-anim{0%{background-position:0 0}100%{background-position:50px 50px}}@keyframes progress-bg-anim{0%{background-position:0 0}100%{background-position:50px 50px}}.clearfix:before,.clearfix:after{content:"";display:table}.clearfix:after{clear:both}.clearfix{zoom:1}.general-spinner{width:16px;height:16px}.migration-error{color:#a21b1b;display:block;max-height:400px;max-width:100%;overflow:auto;word-wrap:break-word}.migration-php-errors{display:none;margin:20px 0;overflow-y:scroll;height:180px}.progress-overlay-container{display:none;position:relative;background-color:#eee;padding:30px 30px 15px;box-shadow:0 0 10px rgba(0,0,0,0.5);cursor:default;font-size:14px;z-index:1;margin:0 10px;box-sizing:border-box;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-height:95%;overflow-y:hidden;-webkit-transition:opacity .3s ease-out, -webkit-transform .5s ease-out;transition:opacity .3s ease-out, transform .5s ease-out;width:700px;min-width:700px;-ms-flex-preferred-size:700px;flex-basis:700px;-webkit-box-flex:0;-ms-flex:0 1 0%;flex:0 1 0%}.progress-overlay-container.show{display:-webkit-box;display:-ms-flexbox;display:flex;opacity:1}.progress-overlay-container.hide{display:-webkit-box;display:-ms-flexbox;display:flex;opacity:0;-webkit-transform:translateY(-100%);transform:translateY(-100%)}.progress-overlay-container>div{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}.progress-overlay-container .migration-progress-stages{-webkit-box-flex:100;-ms-flex:100 1 auto;flex:100 1 auto}@media all and (-ms-high-contrast: none){.progress-overlay-container .migration-progress-stages{height:300px}}.progress-overlay-container .progress-title{margin-top:0;font-size:22px;font-weight:normal;width:85%;line-height:1.3}.progress-overlay-container .progress-title .domain-label{white-space:nowrap}.progress-overlay-container .progress-title .dashicons{display:inline;vertical-align:middle;margin-left:-.15em;padding-right:.3em;font-size:42px}.progress-overlay-container .progress-info-wrapper{margin-bottom:10px}.progress-overlay-container .progress-text{clear:left;float:left;width:100%}.progress-overlay-container .timer{position:absolute;top:35px;right:55px}.progress-overlay-container .progress-bar{position:absolute;top:0;left:0;height:100%;-webkit-transition:width 1s ease-out;transition:width 1s ease-out;z-index:0}.progress-overlay-container .stage-progress{display:none;text-transform:capitalize;padding:15px 30px 0;margin:0 -30px;height:65px;box-sizing:border-box;background:#fff;border-top:1px solid #aaa;z-index:100}.progress-overlay-container .stage-progress.active{display:block}.progress-overlay-container .stage-progress .lowercase{text-transform:lowercase}.progress-overlay-container .stage-progress .items-complete{margin-left:3em}.progress-overlay-container .stage-progress .progress-bar-wrapper{position:relative;height:10px;width:100%;background-color:#eee;margin:15px 0 10px;background-image:-webkit-linear-gradient(135deg, rgba(255,255,255,0.35) 25%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 50%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0.35) 75%, rgba(0,0,0,0) 75%, rgba(0,0,0,0));background-image:linear-gradient(-45deg, rgba(255,255,255,0.35) 25%,rgba(0,0,0,0) 25%,rgba(0,0,0,0) 50%,rgba(255,255,255,0.35) 50%,rgba(255,255,255,0.35) 75%,rgba(0,0,0,0) 75%,rgba(0,0,0,0));background-size:20px 20px;-webkit-animation:progress-bg-anim 5s linear infinite;animation:progress-bg-anim 5s linear infinite}.progress-overlay-container .stage-progress .progress-bar{background-color:#406fa4}.progress-overlay-container .stage-progress .show-hide-tables{display:block;float:right;cursor:pointer}.progress-overlay-container .stage-progress.import .show-hide-tables,.progress-overlay-container .stage-progress.upload .show-hide-tables{display:none}.progress-overlay-container .stage-progress.import .items-complete-wrap,.progress-overlay-container .stage-progress.upload .items-complete-wrap{display:none}.progress-overlay-container .stage-progress.find_replace .size-complete-wrap{display:none}.progress-overlay-container .stage-progress.find_replace .items-complete{margin-left:9em}.progress-overlay-container .progress-tables{overflow:hidden;margin-bottom:2px;padding:0 0 20px 0}.progress-overlay-container .progress-tables-hover-boxes{position:absolute;top:0px;left:0px;display:block;width:100%}.progress-overlay-container .progress-chunk-hover{display:block;float:left;height:35px;position:relative;top:-5px;z-index:1}.progress-overlay-container .progress-chunk{box-sizing:border-box;float:left;display:block;height:6px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;color:#999;position:relative;text-align:center}.progress-overlay-container .progress-chunk>span{padding:0px 3px;white-space:nowrap;text-overflow:ellipsis;margin-top:10px;display:inline-block}.progress-overlay-container .progress-label{padding:5px 10px;border:1px solid #ccc;border-radius:3px;background-color:#fff;font-family:Consolas, Monaco, monospace;font-size:12px;display:inline-block;top:-35px;position:absolute;opacity:0;-webkit-transition:opacity 200ms ease-in-out;transition:opacity 200ms ease-in-out}.progress-overlay-container .label-visible{opacity:1}.progress-overlay-container .progress-label:before{content:"";width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #ccc;display:block;position:absolute;bottom:-5px;left:50%;margin-left:-2px}.progress-overlay-container .progress-label:after{content:"";width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #fff;display:block;position:absolute;bottom:-4px;left:50%;margin-left:-2px}.progress-overlay-container .migration-progress-ajax-spinner{left:7px;position:relative;top:15px}.progress-overlay-container .close-progress-content{color:#999;cursor:pointer;font-size:26px;font-weight:200;position:absolute;right:10px;top:5px;padding:5px;display:none}.progress-overlay-container .close-progress-content:hover{color:#666;border-color:#aaa}.progress-overlay-container .migration-controls{display:block;-webkit-transition:opacity .2s ease-out;transition:opacity .2s ease-out;padding-top:15px}.progress-overlay-container .migration-controls.hidden{opacity:0;pointer-events:none}.progress-overlay-container .migration-controls span{float:left;text-align:center;display:block}.progress-overlay-container .migration-controls span:first-child{margin-right:10px;width:71px}.progress-overlay-container .migration-controls .pause-before-finalize{display:none;float:right;margin-top:5px}.progress-overlay-container .migration-controls #pause-before-finalize{margin-top:0}.progress-overlay-container .pro-version{margin-top:45px;padding-top:40px;position:relative;border-top:1px solid #ccc}.progress-overlay-container .pro-version iframe{position:absolute;top:40px;right:0;display:block}.progress-overlay-container .pro-version-content{padding-right:460px;min-height:255px}.progress-overlay-container .pro-version-content h1{line-height:1em;margin-top:0;font-size:20px}.progress-overlay-container .pro-version-content ul{margin-left:24px}.progress-overlay-container .pro-version-content li{position:relative;font-size:14px;line-height:1.4em;margin-bottom:15px;max-width:580px}.progress-overlay-container .pro-version-content .pro-quote{margin:0 0 20px 0;max-width:570px}.progress-overlay-container .pro-version-content .pro-quote .dashicons-star-filled{font-size:16px;width:16px;height:16px;position:relative;top:2px}.progress-overlay-container .pro-version-content .pro-quote-author{font-style:italic;white-space:nowrap}.progress-overlay-container.wpmdb-error{outline:3px solid #dc3232}@media screen and (max-width: 1096px){.progress-overlay-container .pro-version iframe{position:relative;top:auto;right:auto}.progress-overlay-container .pro-version-content{min-height:0;padding:0 0 20px 0}}.progress-overlay-container:not(.complete) .migration-progress-stages .item-progress:first-child{background-image:-webkit-linear-gradient(135deg, rgba(255,255,255,0.3) 25%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 50%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.3) 75%, rgba(0,0,0,0) 75%, rgba(0,0,0,0));background-image:linear-gradient(-45deg, rgba(255,255,255,0.3) 25%,rgba(0,0,0,0) 25%,rgba(0,0,0,0) 50%,rgba(255,255,255,0.3) 50%,rgba(255,255,255,0.3) 75%,rgba(0,0,0,0) 75%,rgba(0,0,0,0));background-size:50px 50px;-webkit-animation:progress-bg-anim 2s linear infinite;animation:progress-bg-anim 2s linear infinite}.progress-overlay-container.paused .active.stage-progress .progress-bar-wrapper{-webkit-animation-play-state:paused;animation-play-state:paused}.progress-overlay-container.paused .migration-progress-stages .item-progress:first-child{-webkit-animation-play-state:paused;animation-play-state:paused}.progress-overlay-container .migration-progress-stages .determining-media .item-progress:first-child{background-image:none;-webkit-animation:none;animation:none}.progress-overlay-container.cancelled .stage-tabs,.progress-overlay-container.cancelled .migration-progress-stages,.progress-overlay-container.cancelled .stage-progress.active,.progress-overlay-container.wpmdb-error .stage-tabs,.progress-overlay-container.wpmdb-error .migration-progress-stages,.progress-overlay-container.wpmdb-error .stage-progress.active{display:none}.migrate-tab>.pro-version{display:none}#overlay .pro-version{width:42%;padding-left:0;padding-right:0;-ms-flex-preferred-size:42%;flex-basis:42%;max-width:515px;min-width:400px;max-height:100%;-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2;font-size:14px;display:block;-webkit-transition:-webkit-transform .3s ease-out, opacity .3s ease-out, margin-left .2s .3s ease-in-out;transition:transform .3s ease-out, opacity .3s ease-out, margin-left .2s .3s ease-in-out}#overlay .pro-version.remove{margin-left:-525px !important}#overlay .pro-version .pro-version-content{padding:0 30px}#overlay .pro-version .pro-version-content h1{font-size:22px;font-weight:bold;margin:0 0 30px}#overlay .pro-version .pro-version-content li{margin-bottom:10px;padding-left:35px;position:relative}#overlay .pro-version .pro-version-content li .dashicons{display:block;position:absolute;font-size:2em;top:-3px;left:0}#overlay .pro-version .pro-version-content .pro-quote{border:1px solid #bbb;border-radius:3px;padding:15px 15px 15px 100px;margin:30px 0;position:relative;background:url("../img/mor10.png") no-repeat 15px 31px;background-size:51px 51px}@media (min--moz-device-pixel-ratio: 1.3), (-webkit-min-device-pixel-ratio: 1.3), (min-device-pixel-ratio: 1.3), (min-resolution: 1.3dppx){#overlay .pro-version .pro-version-content .pro-quote{background-image:url("../img/mor10@2x.png")}}#overlay .pro-version .pro-version-content .pro-quote p{margin:0;font-size:13px}#overlay .pro-version .pro-version-content .pro-quote .pro-quote-author{font-size:14px;font-weight:bold;color:#999;margin-bottom:5px}#overlay .pro-version .pro-version-content .pro-quote .pro-quote-author .dashicons{float:right;color:#999}#overlay .pro-version .pro-version-content .pro-quote .stars{position:absolute;bottom:0;left:0;width:100%;height:0;overflow:visible;text-align:center}#overlay .pro-version .pro-version-content .pro-quote .stars span{background:#eee;color:#999;margin-top:-.5em}#overlay .pro-version .pro-version-content .pro-quote .stars span:first-child{padding-left:.1em}#overlay .pro-version .pro-version-content .pro-quote .stars span:last-child{padding-right:.1em}#overlay .pro-version iframe,#overlay .pro-version .iframe{width:100%;height:289px;background:#000}#overlay .pro-version .button{display:block;position:relative;width:250px;margin:20px auto 10px;text-align:center}#overlay .pro-version .close-pro-version{color:#999;cursor:pointer;font-size:26px;font-weight:200;position:absolute;right:10px;top:5px;padding:5px;display:block}#overlay .pro-version .close-pro-version:hover{color:#666;border-color:#aaa}
|
asset/dist/js/{common-10.js → common-101.js}
RENAMED
File without changes
|
asset/dist/js/{common-10.min.js → common-101.min.js}
RENAMED
File without changes
|
asset/dist/js/{dismissable-notices-10.js → dismissable-notices-101.js}
RENAMED
File without changes
|
asset/dist/js/{dismissable-notices-10.min.js → dismissable-notices-101.min.js}
RENAMED
File without changes
|
asset/dist/js/{hook-10.js → hook-101.js}
RENAMED
File without changes
|
asset/dist/js/{hook-10.min.js → hook-101.min.js}
RENAMED
File without changes
|
asset/dist/js/import-10.min.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
!function(a,b){function c(a,b){return"import"===b.intent&&(a="completed"===b.stage?wpmdb_strings.import_label_completed:wpmdb_strings.import_label_migrating),a}function d(b){var c=a(".import-file-status");"import"===b.migration_type?(m?q&&a(".unrecognized-import-file-notice").show():(a(".step-two").hide(),c.hasClass("profile-loaded")?(c.attr("class","import-file-status profile-loaded notification-message success-notice"),c.html(wpmdb_strings.import_profile_loaded)):c.html(wpmdb_strings.please_select_sql_file),c.show()),k(),a(".mst-options").hide(),a(".import-find-replace-option, .import-active-plugin-option").show()):(a('.find-replace-rows, .table-options, .advanced-options, .exclude-post-types-options, label[for="backup-selected"]').show(),a(".import-find-replace-option, .find-replace-options, .import-file-status, .import-active-plugin-option, .unrecognized-import-file-notice").hide(),"search_all_imported"===a("input[name=table_migrate_option]:checked").val()&&a("input[name=table_migrate_option][value=migrate_only_with_prefix]").prop("checked",!0))}function e(a){"import"===wpmdb_migration_type()&&("backup"===a&&b.common.hooks.push(b.functions.migrate_table_recursive),b.common.hooks.push(b.functions.upload_file_recursive),b.common.next_step_in_migration={fn:wpmdb_call_next_hook},b.functions.execute_next_step())}function f(){a("#select-tables").remove(),a(".select-tables-wrap").prepend(n),a("#select-tables").change()}function g(a){return"import"===wpmdb_migration_type()&&(a=p),a}function h(c){"import"===wpmdb_migration_type()&&(b.current_migration.model.addStage("upload",[],"local",{strings:{stage_title:wpmdb_strings.upload}}),b.current_migration.model.addStage("import",[],"local",{strings:{stage_title:wpmdb_strings.migrate_button_import}}),a("#import-find-replace").is(":checked")&&(o=c.tables_to_migrate,b.current_migration.model.addStage("find_replace",[],"local",{strings:{migrated:wpmdb_strings.searched,stage_title:wpmdb_strings.migrate_button_find_replace}})))}function i(a){return"import"===wpmdb_migration_type()&&(a.import_info=s),a}function j(c){var d=c.target.files,e=d[0],f=new FileReader,g=a(".import-file-status"),h=a('label[for="backup-selected"]'),i=a(".prefix-notice"),j=a(".unrecognized-import-file-notice"),l=a(".step-two");if(g.hide().attr("class","import-file-status"),i.hide(),j.hide(),l.hide(),!d.length)return void(m&&(l.hide(),g.text(wpmdb_strings.please_select_sql_file).show(),m=!1));if(".sql"!==e.name.slice(-4)&&".sql.gz"!==e.name.slice(-7))return g.addClass("notification-message error-notice migration-error").text(wpmdb_strings.invalid_sql_file).show(),void l.hide();m=!0,r="",g.text(wpmdb_strings.parsing_sql_file).append(t).show(),f.onloadend=function(c){c.target.readyState===FileReader.DONE&&a.ajax({url:ajaxurl,type:"POST",dataType:"json",cache:!1,data:{action:"wpmdb_get_import_info",file_data:c.target.result,nonce:wpmdb_data.nonces.import_file},error:function(a,b,c){console.log(a,b,c)},success:function(c){if(a(".ajax-spinner").remove(),g.hide(),l.show(),"undefined"!=typeof c.wpmdb_error&&1===c.wpmdb_error)g.text(c.body).addClass("notification-message error-notice migration-error").show(),l.hide();else{var d=b.functions.get_localStorage_form_data();if(s=c,"undefined"!=typeof c.prefix&&(r=c.prefix,a(".table-prefix").text(c.prefix),b.functions.maybe_show_prefix_notice(c.prefix)),"undefined"!=typeof c.tables){p=c.tables,h.show(),d||(a("#old-url").val(b.functions.remove_protocol(c.URL)),a("#old-path").val(c.path),a("#new-url").val(b.functions.remove_protocol(wpmdb_data.this_url)),a("#new-path").val(wpmdb_data.this_path));var e=[],f=[];if(d?(e=d.select_tables,f=d.select_post_types,b.functions.remove_localStorage_form_data()):"migrate_only_with_prefix"!==a("input[name=table_migrate_option]:checked").val()||g.hasClass("profile-loaded")||a("input[name=table_migrate_option][value=search_all_imported]").prop("checked",!0),!1===wpmdb_default_profile&&"undefined"!=typeof wpmdb_loaded_tables&&(e=wpmdb_loaded_tables,f=wpmdb_loaded_post_types),n=b.functions.create_table_select(c.tables,[],e),a.wpmdb.do_action("wpmdb_update_import_table_select"),"undefined"!=typeof c.post_types){var i=document.createElement("select");a(i).attr({multiple:"multiple",name:"select_post_types[]",id:"select-post-types","class":"multiselect"}),a.each(c.post_types,function(b,c){var d=a.inArray(c,f);d=-1!==d||!0===wpmdb_convert_exclude_revisions&&"revision"!==c;var e=document.createElement("option");e.value=c,e.text=c,e.selected=d,i.add(e,null)}),a("#select-post-types").remove(),a(".exclude-post-types-warning").after(i)}q&&(q=!1,k())}else j.show(),h.hide(),a(".table-options").hide(),q=!0}}})};var o=e.slice(0,1024e3);f.readAsDataURL(o)}function k(b){a("#import-find-replace").is(":checked")?(a(".find-replace-rows, .find-replace-options").show(),a(".find-replace-options-toggle .expand-collapse-arrow").hasClass("collapsed")?a(".table-options, .advanced-options, .exclude-post-types-options").hide():(a(".advanced-options, .exclude-post-types-options").show(),q?a(".table-options").hide():a(".table-options").show())):a(".find-replace-rows, .table-options, .exclude-post-types-options, .advanced-options, .find-replace-options").hide()}function l(b){q&&setTimeout(function(){a(".find-replace-options-toggle .expand-collapse-arrow").hasClass("collapsed")||a(".table-options").hide()},1)}var m=!1,n=a("#select-tables").clone(),o=[],p=[],q=!1,r="",s={},t='<img src="'+b.functions.get_spinner_url()+'" alt="" class="ajax-spinner general-spinner" />';a.wpmdb.add_filter("wpmdb_get_migration_status_label",c),a.wpmdb.add_action("move_connection_info_box",d),a.wpmdb.add_action("wpmdb_migration_initiated",e),a.wpmdb.add_action("wpmdb_update_import_table_select",f),a.wpmdb.add_filter("wpmdb_backup_selected_tables",g),a.wpmdb.add_action("wpmdb_add_migration_stages",h),a.wpmdb.add_filter("wpmdb_initiate_migration_request_data",i),a("#import-file").on("change",j),a("#import-find-replace").on("click",k),a(".find-replace-options-toggle").on("click",l),b.functions.upload_file_recursive=function(c){c="undefined"==typeof c?0:c;var d=document.getElementById("import-file").files[0],e=1024e3,f=c+e+1,g=new FileReader;0===c&&b.current_migration.model.addStageItem("upload",d.name,d.size/1e3,Math.ceil(d.size/e)),g.onloadend=function(g){g.target.readyState===FileReader.DONE&&a.ajax({url:ajaxurl,type:"POST",dataType:"json",cache:!1,data:{action:"wpmdb_upload_file",file_data:g.target.result,file:d.name,file_type:d.type,migration_state_id:b.migration_state_id,stage:"import",import_info:s,nonce:wpmdb_data.nonces.import_file},error:function(a,c,d){console.log(a,c,d),b.common.migration_error=!0,b.functions.migration_complete_events()},success:function(a){if(b.current_migration.setText(),"undefined"!=typeof a.wpmdb_error&&1===a.wpmdb_error)return b.common.migration_error=!0,b.functions.migration_complete_events(),void b.current_migration.setState(wpmdb_strings.migration_failed,a.body,"error");var g=c+e;b.current_migration.setText(wpmdb_strings.uploading_file_to_server),b.current_migration.model.getStageModel("upload").setItemRowsTransferred(d.name,Math.ceil(g/e)),f<d.size?b.common.next_step_in_migration={fn:b.functions.upload_file_recursive,args:[f]}:b.common.next_step_in_migration={fn:b.functions.upload_import_successful,args:[d]},b.functions.execute_next_step()}})};var h=d.slice(c,f);g.readAsDataURL(h)},b.functions.upload_import_successful=function(c){a.ajax({type:"POST",url:ajaxurl,data:{action:"wpmdb_prepare_import_file",migration_state_id:b.migration_state_id,nonce:wpmdb_data.nonces.import_file},dataType:"json",error:function(a,c,d){console.log(a,c,d),b.common.migration_error=!0,b.functions.migration_complete_events()},success:function(a){var d=c.name,e=wpmdb_strings.importing_file_to_db;".gz"===d.slice(-3)&&(d=c.name.slice(0,-3)),e=e.replace(/\%s\s?/,d),b.current_migration.setText(e),b.current_migration.model.addStageItem("import",d,a.import_size/1e3,a.num_chunks),b.current_migration.model.setActiveStage("import"),b.common.next_step_in_migration={fn:b.functions.import_file_recursive,args:[{import_filename:a.import_file,item_name:d,chunk:0,current_query:""}]},b.functions.execute_next_step()}})},b.functions.import_file_recursive=function(c){a.ajax({type:"POST",url:ajaxurl,data:{action:"wpmdb_import_file",migration_state_id:b.migration_state_id,chunk:c.chunk,current_query:c.current_query,import_file:c.import_filename,nonce:wpmdb_data.nonces.import_file},dataType:"json",error:function(a,c,d){console.log(a,c,d),b.common.migration_error=!0,b.functions.migration_complete_events()},success:function(d){if("undefined"!=typeof d.wpmdb_error&&1===d.wpmdb_error)return b.common.migration_error=!0,b.functions.migration_complete_events(),void b.current_migration.setState(wpmdb_strings.migration_failed,d.body,"error");if(b.current_migration.model.getStageModel("import").setItemRowsTransferred(c.item_name,d.chunk),d.chunk>=d.num_chunks){if(b.current_migration.model.getStageModel("import").setItemRowsTransferred(c.item_name,++d.chunk),a("#import-find-replace").is(":checked")){if(q)a.each(d.table_sizes,function(a,c){if(a.startsWith(wpmdb_data.this_temp_prefix)&&wpmdb_data.alter_table_name!==a){var e=a.replace(wpmdb_data.this_temp_prefix,"");b.current_migration.model.addStageItem("find_replace",e,d.table_sizes[a],d.table_rows[a])}});else{var e=a("input[name=table_migrate_option]:checked").val();"migrate_only_with_prefix"===e?o=p.filter(function(a){return r===a.substring(0,r.length)}):"search_all_imported"===e&&(o=p),a.each(o,function(a,c){var e=wpmdb_data.this_temp_prefix+c;d.table_sizes.hasOwnProperty(e)&&b.current_migration.model.addStageItem("find_replace",c,d.table_sizes[e],d.table_rows[e])})}return o=[],b.current_migration.model.setActiveStage("find_replace"),b.common.next_step_in_migration={fn:b.functions.migrate_table_recursive,args:[0]},void b.functions.execute_next_step()}a(".progress-label").removeClass("label-visible"),b.common.hooks=a.wpmdb.apply_filters("wpmdb_before_migration_complete_hooks",b.common.hooks),b.common.hooks.push(b.functions.migration_complete),b.common.hooks.push(b.functions.wpmdb_flush),b.common.hooks=a.wpmdb.apply_filters("wpmdb_after_migration_complete_hooks",b.common.hooks),b.common.hooks.push(b.functions.migration_complete_events),b.common.next_step_in_migration={fn:wpmdb_call_next_hook}}else b.common.next_step_in_migration={fn:b.functions.import_file_recursive,args:[{import_filename:c.import_filename,item_name:c.item_name,chunk:d.chunk,current_query:d.current_query}]};b.functions.execute_next_step()}})},b.functions.get_tables_to_import=function(){return p}}(jQuery,wpmdb);
|
|
asset/dist/js/{import-10.js → import-101.js}
RENAMED
@@ -325,31 +325,14 @@
|
|
325 |
|
326 |
/**
|
327 |
* Displays the find and replace options for imports
|
328 |
-
*
|
329 |
-
* @param event
|
330 |
*/
|
331 |
-
function maybe_show_find_replace_options(
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
if ( $( '.find-replace-options-toggle .expand-collapse-arrow' ).hasClass( 'collapsed' ) ) {
|
336 |
-
$( '.table-options, .advanced-options, .exclude-post-types-options' ).hide();
|
337 |
-
} else {
|
338 |
-
$( '.advanced-options, .exclude-post-types-options' ).show();
|
339 |
-
|
340 |
-
if ( ! unrecognized_import_file ) {
|
341 |
-
$( '.table-options' ).show();
|
342 |
-
} else {
|
343 |
-
$( '.table-options' ).hide();
|
344 |
-
}
|
345 |
-
}
|
346 |
-
} else {
|
347 |
-
$( '.find-replace-rows, .table-options, .exclude-post-types-options, .advanced-options, .find-replace-options' ).hide();
|
348 |
-
}
|
349 |
}
|
350 |
$( '#import-find-replace' ).on( 'click', maybe_show_find_replace_options );
|
351 |
|
352 |
-
function maybe_show_table_options(
|
353 |
if ( ! unrecognized_import_file ) {
|
354 |
return;
|
355 |
}
|
@@ -364,6 +347,14 @@
|
|
364 |
}
|
365 |
$( '.find-replace-options-toggle' ).on( 'click', maybe_show_table_options );
|
366 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
367 |
/**
|
368 |
* Recursively upload an import file
|
369 |
*
|
325 |
|
326 |
/**
|
327 |
* Displays the find and replace options for imports
|
|
|
|
|
328 |
*/
|
329 |
+
function maybe_show_find_replace_options() {
|
330 |
+
var find_replace_rows = $( '.find-replace-rows' );
|
331 |
+
return $( '#import-find-replace' ).is( ':checked' ) ? find_replace_rows.show() : find_replace_rows.hide();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
332 |
}
|
333 |
$( '#import-find-replace' ).on( 'click', maybe_show_find_replace_options );
|
334 |
|
335 |
+
function maybe_show_table_options() {
|
336 |
if ( ! unrecognized_import_file ) {
|
337 |
return;
|
338 |
}
|
347 |
}
|
348 |
$( '.find-replace-options-toggle' ).on( 'click', maybe_show_table_options );
|
349 |
|
350 |
+
/**
|
351 |
+
* Updates both `keep_active_plugins` checkboxes when one is changed.
|
352 |
+
*/
|
353 |
+
function update_keep_active_plugins_option() {
|
354 |
+
$( 'input[name=keep_active_plugins]' ).prop( 'checked', $( this ).is( ':checked' ) );
|
355 |
+
}
|
356 |
+
$( 'input[name=keep_active_plugins]' ).on( 'click', update_keep_active_plugins_option );
|
357 |
+
|
358 |
/**
|
359 |
* Recursively upload an import file
|
360 |
*
|
asset/dist/js/import-101.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){function c(a,b){return"import"===b.intent&&(a="completed"===b.stage?wpmdb_strings.import_label_completed:wpmdb_strings.import_label_migrating),a}function d(b){var c=a(".import-file-status");"import"===b.migration_type?(n?r&&a(".unrecognized-import-file-notice").show():(a(".step-two").hide(),c.hasClass("profile-loaded")?(c.attr("class","import-file-status profile-loaded notification-message success-notice"),c.html(wpmdb_strings.import_profile_loaded)):c.html(wpmdb_strings.please_select_sql_file),c.show()),k(),a(".mst-options").hide(),a(".import-find-replace-option, .import-active-plugin-option").show()):(a('.find-replace-rows, .table-options, .advanced-options, .exclude-post-types-options, label[for="backup-selected"]').show(),a(".import-find-replace-option, .find-replace-options, .import-file-status, .import-active-plugin-option, .unrecognized-import-file-notice").hide(),"search_all_imported"===a("input[name=table_migrate_option]:checked").val()&&a("input[name=table_migrate_option][value=migrate_only_with_prefix]").prop("checked",!0))}function e(a){"import"===wpmdb_migration_type()&&("backup"===a&&b.common.hooks.push(b.functions.migrate_table_recursive),b.common.hooks.push(b.functions.upload_file_recursive),b.common.next_step_in_migration={fn:wpmdb_call_next_hook},b.functions.execute_next_step())}function f(){a("#select-tables").remove(),a(".select-tables-wrap").prepend(o),a("#select-tables").change()}function g(a){return"import"===wpmdb_migration_type()&&(a=q),a}function h(c){"import"===wpmdb_migration_type()&&(b.current_migration.model.addStage("upload",[],"local",{strings:{stage_title:wpmdb_strings.upload}}),b.current_migration.model.addStage("import",[],"local",{strings:{stage_title:wpmdb_strings.migrate_button_import}}),a("#import-find-replace").is(":checked")&&(p=c.tables_to_migrate,b.current_migration.model.addStage("find_replace",[],"local",{strings:{migrated:wpmdb_strings.searched,stage_title:wpmdb_strings.migrate_button_find_replace}})))}function i(a){return"import"===wpmdb_migration_type()&&(a.import_info=t),a}function j(c){var d=c.target.files,e=d[0],f=new FileReader,g=a(".import-file-status"),h=a('label[for="backup-selected"]'),i=a(".prefix-notice"),j=a(".unrecognized-import-file-notice"),l=a(".step-two");if(g.hide().attr("class","import-file-status"),i.hide(),j.hide(),l.hide(),!d.length)return void(n&&(l.hide(),g.text(wpmdb_strings.please_select_sql_file).show(),n=!1));if(".sql"!==e.name.slice(-4)&&".sql.gz"!==e.name.slice(-7))return g.addClass("notification-message error-notice migration-error").text(wpmdb_strings.invalid_sql_file).show(),void l.hide();n=!0,s="",g.text(wpmdb_strings.parsing_sql_file).append(u).show(),f.onloadend=function(c){c.target.readyState===FileReader.DONE&&a.ajax({url:ajaxurl,type:"POST",dataType:"json",cache:!1,data:{action:"wpmdb_get_import_info",file_data:c.target.result,nonce:wpmdb_data.nonces.import_file},error:function(a,b,c){console.log(a,b,c)},success:function(c){if(a(".ajax-spinner").remove(),g.hide(),l.show(),"undefined"!=typeof c.wpmdb_error&&1===c.wpmdb_error)g.text(c.body).addClass("notification-message error-notice migration-error").show(),l.hide();else{var d=b.functions.get_localStorage_form_data();if(t=c,"undefined"!=typeof c.prefix&&(s=c.prefix,a(".table-prefix").text(c.prefix),b.functions.maybe_show_prefix_notice(c.prefix)),"undefined"!=typeof c.tables){q=c.tables,h.show(),d||(a("#old-url").val(b.functions.remove_protocol(c.URL)),a("#old-path").val(c.path),a("#new-url").val(b.functions.remove_protocol(wpmdb_data.this_url)),a("#new-path").val(wpmdb_data.this_path));var e=[],f=[];if(d?(e=d.select_tables,f=d.select_post_types,b.functions.remove_localStorage_form_data()):"migrate_only_with_prefix"!==a("input[name=table_migrate_option]:checked").val()||g.hasClass("profile-loaded")||a("input[name=table_migrate_option][value=search_all_imported]").prop("checked",!0),!1===wpmdb_default_profile&&"undefined"!=typeof wpmdb_loaded_tables&&(e=wpmdb_loaded_tables,f=wpmdb_loaded_post_types),o=b.functions.create_table_select(c.tables,[],e),a.wpmdb.do_action("wpmdb_update_import_table_select"),"undefined"!=typeof c.post_types){var i=document.createElement("select");a(i).attr({multiple:"multiple",name:"select_post_types[]",id:"select-post-types","class":"multiselect"}),a.each(c.post_types,function(b,c){var d=a.inArray(c,f);d=-1!==d||!0===wpmdb_convert_exclude_revisions&&"revision"!==c;var e=document.createElement("option");e.value=c,e.text=c,e.selected=d,i.add(e,null)}),a("#select-post-types").remove(),a(".exclude-post-types-warning").after(i)}r&&(r=!1,k())}else j.show(),h.hide(),a(".table-options").hide(),r=!0}}})};var m=e.slice(0,1024e3);f.readAsDataURL(m)}function k(){var b=a(".find-replace-rows");return a("#import-find-replace").is(":checked")?b.show():b.hide()}function l(){r&&setTimeout(function(){a(".find-replace-options-toggle .expand-collapse-arrow").hasClass("collapsed")||a(".table-options").hide()},1)}function m(){a("input[name=keep_active_plugins]").prop("checked",a(this).is(":checked"))}var n=!1,o=a("#select-tables").clone(),p=[],q=[],r=!1,s="",t={},u='<img src="'+b.functions.get_spinner_url()+'" alt="" class="ajax-spinner general-spinner" />';a.wpmdb.add_filter("wpmdb_get_migration_status_label",c),a.wpmdb.add_action("move_connection_info_box",d),a.wpmdb.add_action("wpmdb_migration_initiated",e),a.wpmdb.add_action("wpmdb_update_import_table_select",f),a.wpmdb.add_filter("wpmdb_backup_selected_tables",g),a.wpmdb.add_action("wpmdb_add_migration_stages",h),a.wpmdb.add_filter("wpmdb_initiate_migration_request_data",i),a("#import-file").on("change",j),a("#import-find-replace").on("click",k),a(".find-replace-options-toggle").on("click",l),a("input[name=keep_active_plugins]").on("click",m),b.functions.upload_file_recursive=function(c){c="undefined"==typeof c?0:c;var d=document.getElementById("import-file").files[0],e=1024e3,f=c+e+1,g=new FileReader;0===c&&b.current_migration.model.addStageItem("upload",d.name,d.size/1e3,Math.ceil(d.size/e)),g.onloadend=function(g){g.target.readyState===FileReader.DONE&&a.ajax({url:ajaxurl,type:"POST",dataType:"json",cache:!1,data:{action:"wpmdb_upload_file",file_data:g.target.result,file:d.name,file_type:d.type,migration_state_id:b.migration_state_id,stage:"import",import_info:t,nonce:wpmdb_data.nonces.import_file},error:function(a,c,d){console.log(a,c,d),b.common.migration_error=!0,b.functions.migration_complete_events()},success:function(a){if(b.current_migration.setText(),"undefined"!=typeof a.wpmdb_error&&1===a.wpmdb_error)return b.common.migration_error=!0,b.functions.migration_complete_events(),void b.current_migration.setState(wpmdb_strings.migration_failed,a.body,"error");var g=c+e;b.current_migration.setText(wpmdb_strings.uploading_file_to_server),b.current_migration.model.getStageModel("upload").setItemRowsTransferred(d.name,Math.ceil(g/e)),f<d.size?b.common.next_step_in_migration={fn:b.functions.upload_file_recursive,args:[f]}:b.common.next_step_in_migration={fn:b.functions.upload_import_successful,args:[d]},b.functions.execute_next_step()}})};var h=d.slice(c,f);g.readAsDataURL(h)},b.functions.upload_import_successful=function(c){a.ajax({type:"POST",url:ajaxurl,data:{action:"wpmdb_prepare_import_file",migration_state_id:b.migration_state_id,nonce:wpmdb_data.nonces.import_file},dataType:"json",error:function(a,c,d){console.log(a,c,d),b.common.migration_error=!0,b.functions.migration_complete_events()},success:function(a){var d=c.name,e=wpmdb_strings.importing_file_to_db;".gz"===d.slice(-3)&&(d=c.name.slice(0,-3)),e=e.replace(/\%s\s?/,d),b.current_migration.setText(e),b.current_migration.model.addStageItem("import",d,a.import_size/1e3,a.num_chunks),b.current_migration.model.setActiveStage("import"),b.common.next_step_in_migration={fn:b.functions.import_file_recursive,args:[{import_filename:a.import_file,item_name:d,chunk:0,current_query:""}]},b.functions.execute_next_step()}})},b.functions.import_file_recursive=function(c){a.ajax({type:"POST",url:ajaxurl,data:{action:"wpmdb_import_file",migration_state_id:b.migration_state_id,chunk:c.chunk,current_query:c.current_query,import_file:c.import_filename,nonce:wpmdb_data.nonces.import_file},dataType:"json",error:function(a,c,d){console.log(a,c,d),b.common.migration_error=!0,b.functions.migration_complete_events()},success:function(d){if("undefined"!=typeof d.wpmdb_error&&1===d.wpmdb_error)return b.common.migration_error=!0,b.functions.migration_complete_events(),void b.current_migration.setState(wpmdb_strings.migration_failed,d.body,"error");if(b.current_migration.model.getStageModel("import").setItemRowsTransferred(c.item_name,d.chunk),d.chunk>=d.num_chunks){if(b.current_migration.model.getStageModel("import").setItemRowsTransferred(c.item_name,++d.chunk),a("#import-find-replace").is(":checked")){if(r)a.each(d.table_sizes,function(a,c){if(a.startsWith(wpmdb_data.this_temp_prefix)&&wpmdb_data.alter_table_name!==a){var e=a.replace(wpmdb_data.this_temp_prefix,"");b.current_migration.model.addStageItem("find_replace",e,d.table_sizes[a],d.table_rows[a])}});else{var e=a("input[name=table_migrate_option]:checked").val();"migrate_only_with_prefix"===e?p=q.filter(function(a){return s===a.substring(0,s.length)}):"search_all_imported"===e&&(p=q),a.each(p,function(a,c){var e=wpmdb_data.this_temp_prefix+c;d.table_sizes.hasOwnProperty(e)&&b.current_migration.model.addStageItem("find_replace",c,d.table_sizes[e],d.table_rows[e])})}return p=[],b.current_migration.model.setActiveStage("find_replace"),b.common.next_step_in_migration={fn:b.functions.migrate_table_recursive,args:[0]},void b.functions.execute_next_step()}a(".progress-label").removeClass("label-visible"),b.common.hooks=a.wpmdb.apply_filters("wpmdb_before_migration_complete_hooks",b.common.hooks),b.common.hooks.push(b.functions.migration_complete),b.common.hooks.push(b.functions.wpmdb_flush),b.common.hooks=a.wpmdb.apply_filters("wpmdb_after_migration_complete_hooks",b.common.hooks),b.common.hooks.push(b.functions.migration_complete_events),b.common.next_step_in_migration={fn:wpmdb_call_next_hook}}else b.common.next_step_in_migration={fn:b.functions.import_file_recursive,args:[{import_filename:c.import_filename,item_name:c.item_name,chunk:d.chunk,current_query:d.current_query}]};b.functions.execute_next_step()}})},b.functions.get_tables_to_import=function(){return q}}(jQuery,wpmdb);
|
asset/dist/js/{localStorage-10.js → localStorage-101.js}
RENAMED
File without changes
|
asset/dist/js/{localStorage-10.min.js → localStorage-101.min.js}
RENAMED
File without changes
|
asset/dist/js/{multisite-10.js → multisite-101.js}
RENAMED
File without changes
|
asset/dist/js/{multisite-10.min.js → multisite-101.min.js}
RENAMED
File without changes
|
asset/dist/js/{plugin-update-10.js → plugin-update-101.js}
RENAMED
File without changes
|
asset/dist/js/{plugin-update-10.min.js → plugin-update-101.min.js}
RENAMED
File without changes
|
asset/dist/js/{script-10.js → script-101.js}
RENAMED
File without changes
|
asset/dist/js/{script-10.min.js → script-101.min.js}
RENAMED
File without changes
|
class/wpmdb-compatibility.php
CHANGED
@@ -16,10 +16,9 @@ class WPMDB_Compatibility {
|
|
16 |
add_filter( 'site_option_active_sitewide_plugins', array( $this, 'wpmdbc_include_site_plugins' ) );
|
17 |
add_filter( 'stylesheet_directory', array( $this, 'wpmdbc_disable_theme' ) );
|
18 |
add_filter( 'template_directory', array( $this, 'wpmdbc_disable_theme' ) );
|
19 |
-
add_action( 'muplugins_loaded', array( $this, '
|
|
|
20 |
add_action( 'after_setup_theme', array( $this, 'wpmdbc_after_theme_setup' ) );
|
21 |
-
|
22 |
-
$this->default_whitelisted_plugins = $this->wpmdbc_set_default_whitelist();
|
23 |
}
|
24 |
|
25 |
/**
|
@@ -77,7 +76,8 @@ class WPMDB_Compatibility {
|
|
77 |
'wp-migrate-db',
|
78 |
);
|
79 |
|
80 |
-
|
|
|
81 |
}
|
82 |
|
83 |
/**
|
@@ -167,6 +167,11 @@ class WPMDB_Compatibility {
|
|
167 |
}
|
168 |
|
169 |
$whitelist_plugins = $this->wpmdbc_get_whitelist_plugins();
|
|
|
|
|
|
|
|
|
|
|
170 |
$default_whitelist = $this->default_whitelisted_plugins;
|
171 |
|
172 |
foreach ( array_keys( $plugins ) as $plugin ) {
|
@@ -194,7 +199,10 @@ class WPMDB_Compatibility {
|
|
194 |
* @return bool
|
195 |
*/
|
196 |
public function wpmdbc_is_wpmdb_flush_call() {
|
197 |
-
if ( $this->wpmdbc_is_wpmdb_ajax_call() && in_array( $_POST['action'], array(
|
|
|
|
|
|
|
198 |
return true;
|
199 |
}
|
200 |
|
@@ -212,8 +220,7 @@ class WPMDB_Compatibility {
|
|
212 |
'wpmdb_get_log',
|
213 |
'wpmdb_flush',
|
214 |
'wpmdb_remote_flush',
|
215 |
-
) )
|
216 |
-
) {
|
217 |
return false;
|
218 |
}
|
219 |
|
16 |
add_filter( 'site_option_active_sitewide_plugins', array( $this, 'wpmdbc_include_site_plugins' ) );
|
17 |
add_filter( 'stylesheet_directory', array( $this, 'wpmdbc_disable_theme' ) );
|
18 |
add_filter( 'template_directory', array( $this, 'wpmdbc_disable_theme' ) );
|
19 |
+
add_action( 'muplugins_loaded', array( $this, 'wpmdbc_set_default_whitelist' ), 5 );
|
20 |
+
add_action( 'muplugins_loaded', array( $this, 'wpmdbc_plugins_loaded' ), 10 );
|
21 |
add_action( 'after_setup_theme', array( $this, 'wpmdbc_after_theme_setup' ) );
|
|
|
|
|
22 |
}
|
23 |
|
24 |
/**
|
76 |
'wp-migrate-db',
|
77 |
);
|
78 |
|
79 |
+
$plugins = array_merge( $filtered_plugins, $wpmdb_plugins );
|
80 |
+
$this->default_whitelisted_plugins = $plugins;
|
81 |
}
|
82 |
|
83 |
/**
|
167 |
}
|
168 |
|
169 |
$whitelist_plugins = $this->wpmdbc_get_whitelist_plugins();
|
170 |
+
|
171 |
+
if ( ! $this->default_whitelisted_plugins ) {
|
172 |
+
$this->wpmdbc_set_default_whitelist();
|
173 |
+
}
|
174 |
+
|
175 |
$default_whitelist = $this->default_whitelisted_plugins;
|
176 |
|
177 |
foreach ( array_keys( $plugins ) as $plugin ) {
|
199 |
* @return bool
|
200 |
*/
|
201 |
public function wpmdbc_is_wpmdb_flush_call() {
|
202 |
+
if ( $this->wpmdbc_is_wpmdb_ajax_call() && in_array( $_POST['action'], array(
|
203 |
+
'wpmdb_flush',
|
204 |
+
'wpmdb_remote_flush',
|
205 |
+
) ) ) {
|
206 |
return true;
|
207 |
}
|
208 |
|
220 |
'wpmdb_get_log',
|
221 |
'wpmdb_flush',
|
222 |
'wpmdb_remote_flush',
|
223 |
+
) ) ) {
|
|
|
224 |
return false;
|
225 |
}
|
226 |
|
class/wpmdb.php
CHANGED
@@ -1533,6 +1533,71 @@ class WPMDB extends WPMDB_Base {
|
|
1533 |
return $sql;
|
1534 |
}
|
1535 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1536 |
/**
|
1537 |
* Handles the request to flush caches and cleanup migration when pushing or not migrating user tables.
|
1538 |
*
|
@@ -2465,7 +2530,7 @@ class WPMDB extends WPMDB_Base {
|
|
2465 |
|
2466 |
// We need ORDER BY here because with LIMIT, sometimes it will return
|
2467 |
// the same results from the previous query and we'll have duplicate insert statements
|
2468 |
-
if ( 'backup' != $this->state_data['stage'] && false === empty( $this->form_data['exclude_spam'] ) ) {
|
2469 |
if ( $this->table_is( 'comments', $table, 'table', $prefix ) ) {
|
2470 |
$where .= ' AND comment_approved != "spam"';
|
2471 |
} elseif ( $this->table_is( 'commentmeta', $table, 'table', $prefix ) ) {
|
@@ -2475,7 +2540,7 @@ class WPMDB extends WPMDB_Base {
|
|
2475 |
}
|
2476 |
}
|
2477 |
|
2478 |
-
if ( 'backup' != $this->state_data['stage'] && isset( $this->form_data['exclude_post_types'] ) && ! empty( $this->form_data['select_post_types'] ) ) {
|
2479 |
$post_types = '\'' . implode( '\', \'', $this->form_data['select_post_types'] ) . '\'';
|
2480 |
if ( $this->table_is( 'posts', $table, 'table', $prefix ) ) {
|
2481 |
$where .= ' AND `post_type` NOT IN ( ' . $post_types . ' )';
|
@@ -2495,7 +2560,7 @@ class WPMDB extends WPMDB_Base {
|
|
2495 |
}
|
2496 |
}
|
2497 |
|
2498 |
-
if ( 'backup' != $this->state_data['stage'] && true === apply_filters( 'wpmdb_exclude_transients', true ) && isset( $this->form_data['exclude_transients'] ) && '1' === $this->form_data['exclude_transients'] && ( $this->table_is( 'options', $table, 'table', $prefix ) || ( isset( $wpdb->sitemeta ) && $wpdb->sitemeta == $table ) ) ) {
|
2499 |
$col_name = 'option_name';
|
2500 |
|
2501 |
if ( isset( $wpdb->sitemeta ) && $wpdb->sitemeta == $table ) {
|
@@ -2614,6 +2679,8 @@ class WPMDB extends WPMDB_Base {
|
|
2614 |
|
2615 |
if ( ! $skip_row ) {
|
2616 |
|
|
|
|
|
2617 |
foreach ( $row as $key => $value ) {
|
2618 |
$data_to_fix = $value;
|
2619 |
|
@@ -2683,7 +2750,7 @@ class WPMDB extends WPMDB_Base {
|
|
2683 |
if ( ! empty( $this->state_data['domain_current_site'] ) ) {
|
2684 |
$main_domain_replace = $this->state_data['domain_current_site'];
|
2685 |
} elseif( 'find_replace' === $this->state_data['stage'] || 'savefile' === $this->state_data['intent'] ) {
|
2686 |
-
$main_domain_replace = $this->get_domain_replace()
|
2687 |
} elseif ( ! empty ( $this->form_data['replace_new'][1] ) ) {
|
2688 |
$url = $this->parse_url( $this->form_data['replace_new'][1] );
|
2689 |
$main_domain_replace = $url['host'];
|
@@ -2940,14 +3007,15 @@ class WPMDB extends WPMDB_Base {
|
|
2940 |
$this->stow( '# ' . sprintf( __( 'Hostname: %s', 'wp-migrate-db' ), DB_HOST ) . "\n", false );
|
2941 |
$this->stow( '# ' . sprintf( __( 'Database: %s', 'wp-migrate-db' ), $this->backquote( DB_NAME ) ) . "\n", false );
|
2942 |
|
2943 |
-
$
|
2944 |
-
$
|
|
|
2945 |
|
2946 |
if ( false !== $key ) {
|
2947 |
$url = $this->form_data['replace_new'][ $key ];
|
2948 |
} else {
|
2949 |
// Protocol might have been added in
|
2950 |
-
$key = array_search( home_url
|
2951 |
|
2952 |
if ( false !== $key ) {
|
2953 |
$url = $this->form_data['replace_new'][ $key ];
|
@@ -2978,7 +3046,7 @@ class WPMDB extends WPMDB_Base {
|
|
2978 |
$this->stow( '# Post Types: ' . implode( ', ', $this->get_post_types() ) . "\n", false );
|
2979 |
|
2980 |
$protocol = 'http';
|
2981 |
-
if ( 'https' === substr( home_url
|
2982 |
$protocol = 'https';
|
2983 |
}
|
2984 |
|
1533 |
return $sql;
|
1534 |
}
|
1535 |
|
1536 |
+
/**
|
1537 |
+
* Preserves the active_plugins option.
|
1538 |
+
*
|
1539 |
+
* @param array $preserved_options
|
1540 |
+
*
|
1541 |
+
* @return array
|
1542 |
+
*/
|
1543 |
+
function preserve_active_plugins_option( $preserved_options ) {
|
1544 |
+
$keep_active_plugins = $this->profile_value( 'keep_active_plugins' );
|
1545 |
+
|
1546 |
+
if ( empty( $keep_active_plugins ) ) {
|
1547 |
+
$preserved_options[] = 'active_plugins';
|
1548 |
+
}
|
1549 |
+
|
1550 |
+
return $preserved_options;
|
1551 |
+
}
|
1552 |
+
|
1553 |
+
/**
|
1554 |
+
* Preserves WPMDB plugins if the "Keep active plugins" option isn't checked.
|
1555 |
+
*
|
1556 |
+
* @param array $preserved_options_data
|
1557 |
+
*
|
1558 |
+
* return array
|
1559 |
+
*/
|
1560 |
+
function preserve_wpmdb_plugins( $preserved_options_data ) {
|
1561 |
+
$keep_active_plugins = $this->profile_value( 'keep_active_plugins' );
|
1562 |
+
|
1563 |
+
if ( ! empty( $keep_active_plugins ) || empty( $preserved_options_data ) ) {
|
1564 |
+
return $preserved_options_data;
|
1565 |
+
}
|
1566 |
+
|
1567 |
+
foreach ( $preserved_options_data as $table => $data ) {
|
1568 |
+
foreach ( $data as $key => $option ) {
|
1569 |
+
if ( 'active_plugins' === $option['option_name'] ) {
|
1570 |
+
global $wpdb;
|
1571 |
+
|
1572 |
+
$table_name = esc_sql( $table );
|
1573 |
+
$option_value = WPMDB_Utils::unserialize( $option['option_value'] );
|
1574 |
+
$migrated_plugins = array();
|
1575 |
+
$wpmdb_plugins = array();
|
1576 |
+
|
1577 |
+
if ( $result = $wpdb->get_var( "SELECT option_value FROM $table_name WHERE option_name = 'active_plugins'" ) ) {
|
1578 |
+
$unserialized = WPMDB_Utils::unserialize( $result );
|
1579 |
+
if ( is_array( $unserialized ) ) {
|
1580 |
+
$migrated_plugins = $unserialized;
|
1581 |
+
}
|
1582 |
+
}
|
1583 |
+
|
1584 |
+
foreach ( $option_value as $plugin_key => $plugin ) {
|
1585 |
+
if ( 0 === strpos( $plugin, 'wp-migrate-db' ) ) {
|
1586 |
+
$wpmdb_plugins[] = $plugin;
|
1587 |
+
}
|
1588 |
+
}
|
1589 |
+
|
1590 |
+
$merged_plugins = array_unique( array_merge( $wpmdb_plugins, $migrated_plugins ) );
|
1591 |
+
$option['option_value'] = serialize( $merged_plugins );
|
1592 |
+
$preserved_options_data[ $table ][ $key ] = $option;
|
1593 |
+
break;
|
1594 |
+
}
|
1595 |
+
}
|
1596 |
+
}
|
1597 |
+
|
1598 |
+
return $preserved_options_data;
|
1599 |
+
}
|
1600 |
+
|
1601 |
/**
|
1602 |
* Handles the request to flush caches and cleanup migration when pushing or not migrating user tables.
|
1603 |
*
|
2530 |
|
2531 |
// We need ORDER BY here because with LIMIT, sometimes it will return
|
2532 |
// the same results from the previous query and we'll have duplicate insert statements
|
2533 |
+
if ( 'import' !== $this->state_data['intent'] && 'backup' != $this->state_data['stage'] && false === empty( $this->form_data['exclude_spam'] ) ) {
|
2534 |
if ( $this->table_is( 'comments', $table, 'table', $prefix ) ) {
|
2535 |
$where .= ' AND comment_approved != "spam"';
|
2536 |
} elseif ( $this->table_is( 'commentmeta', $table, 'table', $prefix ) ) {
|
2540 |
}
|
2541 |
}
|
2542 |
|
2543 |
+
if ( 'import' !== $this->state_data['intent'] && 'backup' != $this->state_data['stage'] && isset( $this->form_data['exclude_post_types'] ) && ! empty( $this->form_data['select_post_types'] ) ) {
|
2544 |
$post_types = '\'' . implode( '\', \'', $this->form_data['select_post_types'] ) . '\'';
|
2545 |
if ( $this->table_is( 'posts', $table, 'table', $prefix ) ) {
|
2546 |
$where .= ' AND `post_type` NOT IN ( ' . $post_types . ' )';
|
2560 |
}
|
2561 |
}
|
2562 |
|
2563 |
+
if ( 'import' !== $this->state_data['intent'] && 'backup' != $this->state_data['stage'] && true === apply_filters( 'wpmdb_exclude_transients', true ) && isset( $this->form_data['exclude_transients'] ) && '1' === $this->form_data['exclude_transients'] && ( $this->table_is( 'options', $table, 'table', $prefix ) || ( isset( $wpdb->sitemeta ) && $wpdb->sitemeta == $table ) ) ) {
|
2564 |
$col_name = 'option_name';
|
2565 |
|
2566 |
if ( isset( $wpdb->sitemeta ) && $wpdb->sitemeta == $table ) {
|
2679 |
|
2680 |
if ( ! $skip_row ) {
|
2681 |
|
2682 |
+
$replacer->set_row( $row );
|
2683 |
+
|
2684 |
foreach ( $row as $key => $value ) {
|
2685 |
$data_to_fix = $value;
|
2686 |
|
2750 |
if ( ! empty( $this->state_data['domain_current_site'] ) ) {
|
2751 |
$main_domain_replace = $this->state_data['domain_current_site'];
|
2752 |
} elseif( 'find_replace' === $this->state_data['stage'] || 'savefile' === $this->state_data['intent'] ) {
|
2753 |
+
$main_domain_replace = $this->get_domain_replace() ? $this->get_domain_replace() : $this->get_domain_current_site();
|
2754 |
} elseif ( ! empty ( $this->form_data['replace_new'][1] ) ) {
|
2755 |
$url = $this->parse_url( $this->form_data['replace_new'][1] );
|
2756 |
$main_domain_replace = $url['host'];
|
3007 |
$this->stow( '# ' . sprintf( __( 'Hostname: %s', 'wp-migrate-db' ), DB_HOST ) . "\n", false );
|
3008 |
$this->stow( '# ' . sprintf( __( 'Database: %s', 'wp-migrate-db' ), $this->backquote( DB_NAME ) ) . "\n", false );
|
3009 |
|
3010 |
+
$home_url = apply_filters( 'wpmdb_backup_header_url', home_url() );
|
3011 |
+
$url = preg_replace( '(^https?:)', '', $home_url, 1 );
|
3012 |
+
$key = array_search( $url, $this->form_data['replace_old'] );
|
3013 |
|
3014 |
if ( false !== $key ) {
|
3015 |
$url = $this->form_data['replace_new'][ $key ];
|
3016 |
} else {
|
3017 |
// Protocol might have been added in
|
3018 |
+
$key = array_search( $home_url, $this->form_data['replace_old'] );
|
3019 |
|
3020 |
if ( false !== $key ) {
|
3021 |
$url = $this->form_data['replace_new'][ $key ];
|
3046 |
$this->stow( '# Post Types: ' . implode( ', ', $this->get_post_types() ) . "\n", false );
|
3047 |
|
3048 |
$protocol = 'http';
|
3049 |
+
if ( 'https' === substr( $home_url, 0, 5 ) ) {
|
3050 |
$protocol = 'https';
|
3051 |
}
|
3052 |
|
class/wpmdbpro-import.php
DELETED
@@ -1,502 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* Class WPMDBPro_Import
|
5 |
-
*
|
6 |
-
* Handles importing a SQL file to the database
|
7 |
-
*/
|
8 |
-
class WPMDBPro_Import {
|
9 |
-
|
10 |
-
/**
|
11 |
-
* Stores the chunk size used for imports
|
12 |
-
*
|
13 |
-
* @var int $chunk_size
|
14 |
-
*/
|
15 |
-
protected $chunk_size = 10000;
|
16 |
-
|
17 |
-
/**
|
18 |
-
* State data for the migration
|
19 |
-
*
|
20 |
-
* @var array $state_data
|
21 |
-
*/
|
22 |
-
protected $state_data;
|
23 |
-
|
24 |
-
/**
|
25 |
-
* Stores a reference to WPMDBPro
|
26 |
-
*
|
27 |
-
* @var object $wpmdbpro
|
28 |
-
*/
|
29 |
-
protected $wpmdbpro;
|
30 |
-
|
31 |
-
public function __construct( $wpmdbpro ) {
|
32 |
-
$this->wpmdbpro = $wpmdbpro;
|
33 |
-
|
34 |
-
add_action( 'wpmdb_load_assets', array( $this, 'enqueue_import_script' ) );
|
35 |
-
add_action( 'wp_ajax_wpmdb_get_import_info', array( $this, 'ajax_get_import_info' ) );
|
36 |
-
add_action( 'wp_ajax_wpmdb_upload_file', array( $this, 'ajax_upload_file' ) );
|
37 |
-
add_action( 'wp_ajax_wpmdb_prepare_import_file', array( $this, 'ajax_prepare_import_file' ) );
|
38 |
-
add_action( 'wp_ajax_wpmdb_import_file', array( $this, 'ajax_import_file' ) );
|
39 |
-
}
|
40 |
-
|
41 |
-
public function enqueue_import_script( $hook ) {
|
42 |
-
$ver_string = '-' . str_replace( '.', '', $this->wpmdbpro->get( 'plugin_version' ) );
|
43 |
-
$min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
44 |
-
$src = plugins_url( "asset/dist/js/import{$ver_string}{$min}.js", dirname( __FILE__ ) );
|
45 |
-
wp_enqueue_script( 'wp-migrate-db-pro-import-script', $src, array( 'jquery' ), false, true );
|
46 |
-
}
|
47 |
-
|
48 |
-
/**
|
49 |
-
* Returns info about the import file.
|
50 |
-
*
|
51 |
-
* @return array|bool
|
52 |
-
*/
|
53 |
-
public function ajax_get_import_info() {
|
54 |
-
$this->wpmdbpro->check_ajax_referer( 'import-file' );
|
55 |
-
|
56 |
-
$data = $this->decode_chunk( $_POST['file_data'] );
|
57 |
-
$is_gzipped = false;
|
58 |
-
|
59 |
-
if ( false !== $data && $this->str_is_gzipped( $data ) ) {
|
60 |
-
if ( ! $this->wpmdbpro->gzip() ) {
|
61 |
-
$error_msg = __( 'The server is not compatible with gzip, please decompress the import file and try again.', 'wp-migrate-db' );
|
62 |
-
$return = array( 'wpmdb_error' => 1, 'body' => $error_msg );
|
63 |
-
$this->wpmdbpro->log_error( $error_msg );
|
64 |
-
return $this->wpmdbpro->end_ajax( json_encode( $return ) );
|
65 |
-
}
|
66 |
-
|
67 |
-
$data = WPMDB_Utils::gzdecode( $data );
|
68 |
-
$is_gzipped = true;
|
69 |
-
}
|
70 |
-
|
71 |
-
if ( ! $data ) {
|
72 |
-
$error_msg = __( 'Unable to read data from the import file', 'wp-migrate-db' );
|
73 |
-
$return = array( 'wpmdb_error' => 1, 'body' => $error_msg );
|
74 |
-
$this->wpmdbpro->log_error( $error_msg );
|
75 |
-
$result = $this->wpmdbpro->end_ajax( json_encode( $return ) );
|
76 |
-
|
77 |
-
return $result;
|
78 |
-
}
|
79 |
-
|
80 |
-
$return = $this->parse_file_header( $data );
|
81 |
-
$return['import_gzipped'] = $is_gzipped;
|
82 |
-
|
83 |
-
return $this->wpmdbpro->end_ajax( json_encode( $return ) );
|
84 |
-
}
|
85 |
-
|
86 |
-
/**
|
87 |
-
* Parses info from the export file header.
|
88 |
-
*
|
89 |
-
* @param $data
|
90 |
-
*
|
91 |
-
* @return array
|
92 |
-
*/
|
93 |
-
public function parse_file_header( $data ) {
|
94 |
-
$lines = explode( PHP_EOL, $data );
|
95 |
-
$return = array();
|
96 |
-
|
97 |
-
if ( is_array( $lines ) && 10 <= count( $lines ) ) {
|
98 |
-
if ( '# URL:' === substr( $lines[5], 0, 6 ) ) {
|
99 |
-
$return['URL'] = substr( $lines[5], 7 );
|
100 |
-
}
|
101 |
-
|
102 |
-
if ( '# Path:' === substr( $lines[6], 0, 7 ) ) {
|
103 |
-
$return['path'] = substr( $lines[6], 8 );
|
104 |
-
}
|
105 |
-
|
106 |
-
if ( '# Tables:' === substr( $lines[7], 0, 9 ) ) {
|
107 |
-
$return['tables'] = explode( ', ', substr( $lines[7], 10 ) );
|
108 |
-
}
|
109 |
-
|
110 |
-
if ( '# Table Prefix:' === substr( $lines[8], 0, 15 ) ) {
|
111 |
-
$return['prefix'] = substr( $lines[8], 16 );
|
112 |
-
}
|
113 |
-
|
114 |
-
if ( '# Post Types:' === substr( $lines[9], 0, 13 ) ) {
|
115 |
-
$return['post_types'] = explode( ', ', substr( $lines[9], 14 ) );
|
116 |
-
}
|
117 |
-
|
118 |
-
if ( '# Protocol:' === substr( $lines[10], 0, 11 ) ) {
|
119 |
-
$return['protocol'] = substr( $lines[10], 12 );
|
120 |
-
}
|
121 |
-
}
|
122 |
-
|
123 |
-
return $return;
|
124 |
-
}
|
125 |
-
|
126 |
-
/**
|
127 |
-
* Uploads the import file to the server.
|
128 |
-
*
|
129 |
-
* @return void
|
130 |
-
*/
|
131 |
-
public function ajax_upload_file() {
|
132 |
-
$this->wpmdbpro->check_ajax_referer( 'import-file' );
|
133 |
-
$this->state_data = $this->wpmdbpro->set_post_data();
|
134 |
-
if ( ! empty( $this->state_data['form_data'] ) ) {
|
135 |
-
$this->wpmdbpro->parse_migration_form_data( $this->state_data['form_data'] );
|
136 |
-
}
|
137 |
-
|
138 |
-
$file_data = $this->decode_chunk( $this->state_data['file_data'] );
|
139 |
-
|
140 |
-
if ( false === $file_data ) {
|
141 |
-
$error_msg = __( 'An error occurred while uploading the file.', 'wp-migrate-db' );
|
142 |
-
$return = array( 'wpmdb_error' => 1, 'body' => $error_msg );
|
143 |
-
$this->wpmdbpro->log_error( $error_msg );
|
144 |
-
|
145 |
-
return $this->wpmdbpro->end_ajax( json_encode( $return ) );
|
146 |
-
}
|
147 |
-
|
148 |
-
// Store the data in the file.
|
149 |
-
$fp = fopen( $this->state_data['import_path'], 'a' );
|
150 |
-
fwrite( $fp, $file_data );
|
151 |
-
fclose( $fp );
|
152 |
-
}
|
153 |
-
|
154 |
-
/**
|
155 |
-
* Prepares for import of a SQL file.
|
156 |
-
*
|
157 |
-
* @return mixed
|
158 |
-
*/
|
159 |
-
public function ajax_prepare_import_file() {
|
160 |
-
$this->wpmdbpro->check_ajax_referer( 'import-file' );
|
161 |
-
$this->state_data = $this->wpmdbpro->set_post_data();
|
162 |
-
|
163 |
-
$file = $this->state_data['import_path'];
|
164 |
-
|
165 |
-
if ( $this->file_is_gzipped( $file ) ) {
|
166 |
-
|
167 |
-
$file = $this->decompress_file( $this->state_data['import_path'] );
|
168 |
-
|
169 |
-
if ( false === $file ) {
|
170 |
-
$error_msg = __( 'An error occurred while decompressing the import file.', 'wp-migrate-db' );
|
171 |
-
$return = array( 'wpmdb_error' => 1, 'body' => $error_msg );
|
172 |
-
$this->wpmdbpro->log_error( $error_msg );
|
173 |
-
$result = $this->wpmdbpro->end_ajax( json_encode( $return ) );
|
174 |
-
|
175 |
-
return $result;
|
176 |
-
}
|
177 |
-
}
|
178 |
-
|
179 |
-
$return = array(
|
180 |
-
'num_chunks' => $this->get_num_chunks_in_file( $file ),
|
181 |
-
'import_file' => $file,
|
182 |
-
'import_size' => $this->wpmdbpro->filesystem->filesize( $file ),
|
183 |
-
);
|
184 |
-
|
185 |
-
return $this->wpmdbpro->end_ajax( json_encode( $return ) );
|
186 |
-
}
|
187 |
-
|
188 |
-
/**
|
189 |
-
* Handles AJAX requests to import a SQL file.
|
190 |
-
*
|
191 |
-
* @return mixed
|
192 |
-
*/
|
193 |
-
public function ajax_import_file() {
|
194 |
-
$this->wpmdbpro->check_ajax_referer( 'import-file' );
|
195 |
-
$this->state_data = $this->wpmdbpro->set_post_data();
|
196 |
-
|
197 |
-
$file = $this->state_data['import_file'];
|
198 |
-
$chunk = isset( $this->state_data['chunk'] ) ? $this->state_data['chunk'] : 0;
|
199 |
-
$num_chunks = isset( $this->state_data['num_chunks'] ) ? $this->state_data['num_chunks'] : $this->get_num_chunks_in_file( $file );
|
200 |
-
$current_query = isset( $this->state_data['current_query'] ) ? base64_decode( $this->state_data['current_query'] ) : '';
|
201 |
-
|
202 |
-
$import = $this->import_chunk( $file, $chunk, $current_query );
|
203 |
-
|
204 |
-
if ( is_wp_error( $import ) ) {
|
205 |
-
$error_msg = $import->get_error_message();
|
206 |
-
$return = array( 'wpmdb_error' => 1, 'body' => $error_msg );
|
207 |
-
$this->wpmdbpro->log_error( $error_msg );
|
208 |
-
|
209 |
-
return $this->wpmdbpro->end_ajax( json_encode( $return ) );
|
210 |
-
}
|
211 |
-
|
212 |
-
$return = array(
|
213 |
-
'chunk' => ++$chunk,
|
214 |
-
'num_chunks' => $num_chunks,
|
215 |
-
'current_query' => base64_encode( $import['current_query'] ),
|
216 |
-
);
|
217 |
-
|
218 |
-
// Return updated table sizes
|
219 |
-
if ( $chunk >= $num_chunks ) {
|
220 |
-
|
221 |
-
$this->wpmdbpro->delete_export_file( $this->state_data['import_filename'], true );
|
222 |
-
|
223 |
-
if ( 'true' === $this->state_data['import_info']['import_gzipped'] ) {
|
224 |
-
$this->wpmdbpro->delete_export_file( $this->state_data['import_filename'], false );
|
225 |
-
}
|
226 |
-
|
227 |
-
$return['table_sizes'] = $this->wpmdbpro->get_table_sizes();
|
228 |
-
$return['table_rows'] = $this->wpmdbpro->get_table_row_count();
|
229 |
-
}
|
230 |
-
|
231 |
-
return $this->wpmdbpro->end_ajax( json_encode( $return ) );
|
232 |
-
}
|
233 |
-
|
234 |
-
/**
|
235 |
-
* Gets the file data from the base64 encoded chunk
|
236 |
-
*
|
237 |
-
* @param string $data
|
238 |
-
*
|
239 |
-
* @return string|bool
|
240 |
-
*/
|
241 |
-
public function decode_chunk( $data ) {
|
242 |
-
$data = explode( ';base64,', $data );
|
243 |
-
|
244 |
-
if ( ! is_array( $data ) || ! isset( $data[1] ) ) {
|
245 |
-
return false;
|
246 |
-
}
|
247 |
-
|
248 |
-
$data = base64_decode( $data[1] );
|
249 |
-
if ( ! $data ) {
|
250 |
-
return false;
|
251 |
-
}
|
252 |
-
|
253 |
-
return $data;
|
254 |
-
}
|
255 |
-
|
256 |
-
/**
|
257 |
-
* Gets the SplFileObject for the provided file
|
258 |
-
*
|
259 |
-
* @param string $file
|
260 |
-
* @param int $line
|
261 |
-
*
|
262 |
-
* @return object SplFileObject|WP_Error
|
263 |
-
*/
|
264 |
-
public function get_file_object( $file, $line = 0 ) {
|
265 |
-
if ( ! $this->wpmdbpro->filesystem->file_exists( $file ) || ! $this->wpmdbpro->filesystem->is_readable( $file ) ) {
|
266 |
-
return new WP_Error( 'invalid_import_file', __( 'The import file could not be read.', 'wp-migrate-db' ) );
|
267 |
-
}
|
268 |
-
|
269 |
-
$file = new SplFileObject( $file );
|
270 |
-
$file->seek( $line );
|
271 |
-
|
272 |
-
return $file;
|
273 |
-
}
|
274 |
-
|
275 |
-
/**
|
276 |
-
* Returns the number of chunks in a SQL file
|
277 |
-
*
|
278 |
-
* @param $file
|
279 |
-
*
|
280 |
-
* @return int|object WP_Error
|
281 |
-
*/
|
282 |
-
public function get_num_chunks_in_file( $file ) {
|
283 |
-
$file = $this->get_file_object( $file, PHP_INT_MAX );
|
284 |
-
|
285 |
-
if ( is_wp_error( $file ) ) {
|
286 |
-
return $file;
|
287 |
-
}
|
288 |
-
|
289 |
-
$lines = $file->key();
|
290 |
-
|
291 |
-
return ceil( $lines / $this->chunk_size );
|
292 |
-
}
|
293 |
-
|
294 |
-
/**
|
295 |
-
* Imports a chunk of a provided SQL file into the database
|
296 |
-
*
|
297 |
-
* @param string $file
|
298 |
-
* @param int $chunk
|
299 |
-
* @param string $current_query
|
300 |
-
*
|
301 |
-
* @return array|object WP_Error
|
302 |
-
*/
|
303 |
-
public function import_chunk( $file, $chunk = 0, $current_query = '' ) {
|
304 |
-
global $wpdb;
|
305 |
-
|
306 |
-
$start = $chunk * $this->chunk_size;
|
307 |
-
$start = ( $start > 0 ) ? $start - 1 : $start;
|
308 |
-
$lines = 0;
|
309 |
-
$file = $this->get_file_object( $file, $start );
|
310 |
-
|
311 |
-
if ( is_wp_error( $file ) ) {
|
312 |
-
return $file;
|
313 |
-
}
|
314 |
-
|
315 |
-
while ( ! $file->eof() ) {
|
316 |
-
$line = trim( $file->fgets() );
|
317 |
-
$lines++;
|
318 |
-
|
319 |
-
if ( $lines > $this->chunk_size ) {
|
320 |
-
// Bail if we've exceeded the chunk size
|
321 |
-
return array(
|
322 |
-
'import_complete' => false,
|
323 |
-
'current_query' => $current_query,
|
324 |
-
);
|
325 |
-
}
|
326 |
-
|
327 |
-
if ( empty( $line ) || '' === $line ) {
|
328 |
-
// Skip empty/new lines
|
329 |
-
continue;
|
330 |
-
}
|
331 |
-
|
332 |
-
if ( '--' === substr( $line, 0, 2 ) ||
|
333 |
-
'/* ' === substr( $line, 0, 3 ) ||
|
334 |
-
'#' === substr( $line, 0, 1 )
|
335 |
-
) {
|
336 |
-
// Skip if it's a comment
|
337 |
-
continue;
|
338 |
-
}
|
339 |
-
|
340 |
-
if ( preg_match( '/\/\*![0-9]{5} SET (.*)\*\/;/', $line, $matches ) ) {
|
341 |
-
// Skip user and system defined MySQL variables
|
342 |
-
continue;
|
343 |
-
}
|
344 |
-
|
345 |
-
$current_query .= $line;
|
346 |
-
|
347 |
-
if ( ';' !== substr( $line, -1, 1 ) ) {
|
348 |
-
// Doesn't have a semicolon at the end, not the end of the query
|
349 |
-
continue;
|
350 |
-
}
|
351 |
-
|
352 |
-
// Run the query
|
353 |
-
ob_start();
|
354 |
-
$wpdb->show_errors();
|
355 |
-
|
356 |
-
$current_query = $this->convert_to_temp_query( $current_query );
|
357 |
-
if ( false === $wpdb->query( $current_query ) ) {
|
358 |
-
$error = ob_get_clean();
|
359 |
-
$error_msg = sprintf( __( 'Failed to import the SQL query: %s', 'wp-migrate-db' ), esc_html( $error ) );
|
360 |
-
$return = new WP_Error( 'import_sql_execution_failed', $error_msg );
|
361 |
-
|
362 |
-
$invalid_text = $this->wpmdbpro->maybe_strip_invalid_text_and_retry( $current_query, 'import' );
|
363 |
-
if ( false !== $invalid_text ) {
|
364 |
-
$return = $invalid_text;
|
365 |
-
}
|
366 |
-
|
367 |
-
if ( is_wp_error( $return ) ) {
|
368 |
-
return $return;
|
369 |
-
}
|
370 |
-
}
|
371 |
-
|
372 |
-
ob_end_clean();
|
373 |
-
|
374 |
-
// Reset the temp variable
|
375 |
-
$current_query = '';
|
376 |
-
}
|
377 |
-
|
378 |
-
return array( 'import_complete' => true, 'current_query' => $current_query );
|
379 |
-
}
|
380 |
-
|
381 |
-
/**
|
382 |
-
* Decompress a file
|
383 |
-
*
|
384 |
-
* @param string $file The file to decompress
|
385 |
-
* @param string $dest The destination of the decompressed file
|
386 |
-
*
|
387 |
-
* @return string|boolean
|
388 |
-
*/
|
389 |
-
public function decompress_file( $file, $dest = '' ) {
|
390 |
-
$error = false;
|
391 |
-
|
392 |
-
if ( ! $this->wpmdbpro->filesystem->file_exists( $file ) || ! $this->wpmdbpro->filesystem->is_readable( $file ) ) {
|
393 |
-
return $error;
|
394 |
-
}
|
395 |
-
|
396 |
-
$tmp_file = wp_tempnam();
|
397 |
-
|
398 |
-
if ( '' === $dest ) {
|
399 |
-
$dest = ( '.gz' === substr( $file, -3 ) ) ? substr( $file, 0, -3 ) : $file;
|
400 |
-
}
|
401 |
-
|
402 |
-
if ( $fp_in = gzopen( $file, 'rb' ) ) {
|
403 |
-
|
404 |
-
if ( $fp_out = fopen( $tmp_file, 'w' ) ) {
|
405 |
-
|
406 |
-
while ( ! gzeof( $fp_in ) ) {
|
407 |
-
$string = gzread( $fp_in, '4096' );
|
408 |
-
fwrite( $fp_out, $string, strlen( $string ) );
|
409 |
-
}
|
410 |
-
|
411 |
-
fclose( $fp_out );
|
412 |
-
|
413 |
-
$this->wpmdbpro->filesystem->move( $tmp_file, $dest );
|
414 |
-
} else {
|
415 |
-
$error = true;
|
416 |
-
}
|
417 |
-
|
418 |
-
gzclose( $fp_in );
|
419 |
-
} else {
|
420 |
-
$error = true;
|
421 |
-
}
|
422 |
-
|
423 |
-
if ( $error ) {
|
424 |
-
return false;
|
425 |
-
}
|
426 |
-
|
427 |
-
return $dest;
|
428 |
-
}
|
429 |
-
|
430 |
-
/**
|
431 |
-
* Converts a query to run on temporary tables
|
432 |
-
*
|
433 |
-
* @param $query
|
434 |
-
*
|
435 |
-
* @return string
|
436 |
-
*/
|
437 |
-
public function convert_to_temp_query( $query ) {
|
438 |
-
$temp_prefix = $this->wpmdbpro->get( 'temp_prefix' );
|
439 |
-
|
440 |
-
if ( substr( $query, 0, 13 ) === 'INSERT INTO `' ) {
|
441 |
-
$query = WPMDB_Utils::str_replace_first( 'INSERT INTO `', 'INSERT INTO `' . $temp_prefix, $query );
|
442 |
-
} elseif ( substr( $query, 0, 14 ) === 'CREATE TABLE `' ) {
|
443 |
-
$query = WPMDB_Utils::str_replace_first( 'CREATE TABLE `', 'CREATE TABLE `' . $temp_prefix, $query );
|
444 |
-
} elseif ( substr( $query, 0, 22 ) === 'DROP TABLE IF EXISTS `' ) {
|
445 |
-
$query = WPMDB_Utils::str_replace_first( 'DROP TABLE IF EXISTS `', 'DROP TABLE IF EXISTS `' . $temp_prefix, $query );
|
446 |
-
} elseif ( substr( $query, 0, 13 ) === 'LOCK TABLES `' ) {
|
447 |
-
$query = WPMDB_Utils::str_replace_first( 'LOCK TABLES `', 'LOCK TABLES `' . $temp_prefix, $query );
|
448 |
-
} elseif ( substr( $query, 0, 13 ) === 'ALTER TABLE `' || substr( $query, 9, 13 ) === 'ALTER TABLE `' ) {
|
449 |
-
$query = WPMDB_Utils::str_replace_first( 'ALTER TABLE `', 'ALTER TABLE `' . $temp_prefix, $query );
|
450 |
-
}
|
451 |
-
|
452 |
-
return $query;
|
453 |
-
}
|
454 |
-
|
455 |
-
/**
|
456 |
-
* Checks if a string is compressed via gzip
|
457 |
-
*
|
458 |
-
* @param string $string
|
459 |
-
*
|
460 |
-
* @return bool
|
461 |
-
*/
|
462 |
-
public function str_is_gzipped( $string ) {
|
463 |
-
$is_gzipped = false;
|
464 |
-
$tmp_file = wp_tempnam();
|
465 |
-
|
466 |
-
$fh = fopen( $tmp_file, 'a' );
|
467 |
-
fwrite( $fh, $string );
|
468 |
-
|
469 |
-
|
470 |
-
if ( $this->file_is_gzipped( $tmp_file ) ) {
|
471 |
-
$is_gzipped = true;
|
472 |
-
}
|
473 |
-
|
474 |
-
$this->wpmdbpro->filesystem->unlink( $tmp_file );
|
475 |
-
|
476 |
-
return $is_gzipped;
|
477 |
-
}
|
478 |
-
|
479 |
-
/**
|
480 |
-
* Checks if the provided file is gzipped
|
481 |
-
*
|
482 |
-
* @param string $file
|
483 |
-
*
|
484 |
-
* @return bool
|
485 |
-
*/
|
486 |
-
public function file_is_gzipped( $file ) {
|
487 |
-
$is_gzipped = false;
|
488 |
-
|
489 |
-
if ( ! $this->wpmdbpro->filesystem->is_file( $file ) ) {
|
490 |
-
return $is_gzipped;
|
491 |
-
}
|
492 |
-
|
493 |
-
$content_type = mime_content_type( $file );
|
494 |
-
|
495 |
-
if ( in_array( $content_type, array( 'application/x-gzip', 'application/gzip' ) ) ) {
|
496 |
-
$is_gzipped = true;
|
497 |
-
}
|
498 |
-
|
499 |
-
return $is_gzipped;
|
500 |
-
}
|
501 |
-
|
502 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
compatibility/wp-migrate-db-pro-compatibility.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
-
Plugin Name: WP Migrate DB Compatibility
|
4 |
Plugin URI: http://deliciousbrains.com/wp-migrate-db-pro/
|
5 |
Description: Prevents 3rd party plugins from being loaded during WP Migrate DB specific operations
|
6 |
Author: Delicious Brains
|
1 |
<?php
|
2 |
/*
|
3 |
+
Plugin Name: WP Migrate DB Pro Compatibility
|
4 |
Plugin URI: http://deliciousbrains.com/wp-migrate-db-pro/
|
5 |
Description: Prevents 3rd party plugins from being loaded during WP Migrate DB specific operations
|
6 |
Author: Delicious Brains
|
languages/wp-migrate-db-en.pot
CHANGED
@@ -8,7 +8,7 @@ msgid ""
|
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: wp-migrate-db\n"
|
10 |
"Report-Msgid-Bugs-To: nom@deliciousbrains.com\n"
|
11 |
-
"POT-Creation-Date: 2017-
|
12 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -287,7 +287,7 @@ msgid ""
|
|
287 |
msgstr ""
|
288 |
|
289 |
#: class/wpmdb-base.php:568
|
290 |
-
#: class/wpmdb.php:
|
291 |
msgid "our documentation"
|
292 |
msgstr ""
|
293 |
|
@@ -534,7 +534,7 @@ msgid "Export saved to: %s"
|
|
534 |
msgstr ""
|
535 |
|
536 |
#: class/wpmdb-command.php:190
|
537 |
-
#: class/wpmdb.php:
|
538 |
msgid "Find & Replace complete"
|
539 |
msgstr ""
|
540 |
|
@@ -708,264 +708,264 @@ msgid ""
|
|
708 |
"contact support."
|
709 |
msgstr ""
|
710 |
|
711 |
-
#: class/wpmdb.php:
|
712 |
#, php-format
|
713 |
msgid ""
|
714 |
"Failed to retrieve table structure for table '%s', please ensure your "
|
715 |
"database is online. (#125)"
|
716 |
msgstr ""
|
717 |
|
718 |
-
#: class/wpmdb.php:
|
719 |
#, php-format
|
720 |
msgid "Error creating temporary table. Table \"%s\" does not exist."
|
721 |
msgstr ""
|
722 |
|
723 |
-
#: class/wpmdb.php:
|
724 |
#, php-format
|
725 |
msgid "Delete any existing table %s"
|
726 |
msgstr ""
|
727 |
|
728 |
-
#: class/wpmdb.php:
|
729 |
#, php-format
|
730 |
msgid "Table structure of table %s"
|
731 |
msgstr ""
|
732 |
|
733 |
-
#: class/wpmdb.php:
|
734 |
msgid ""
|
735 |
"Failed to generate the create table query, please ensure your database is "
|
736 |
"online. (#126)"
|
737 |
msgstr ""
|
738 |
|
739 |
-
#: class/wpmdb.php:
|
740 |
#, php-format
|
741 |
msgid "Data contents of table %s"
|
742 |
msgstr ""
|
743 |
|
744 |
-
#: class/wpmdb.php:
|
745 |
#, php-format
|
746 |
msgid "End of data contents of table %s"
|
747 |
msgstr ""
|
748 |
|
749 |
-
#: class/wpmdb.php:
|
750 |
msgid "WordPress MySQL database migration"
|
751 |
msgstr ""
|
752 |
|
753 |
-
#: class/wpmdb.php:
|
754 |
#, php-format
|
755 |
msgid "Generated: %s"
|
756 |
msgstr ""
|
757 |
|
758 |
-
#: class/wpmdb.php:
|
759 |
#, php-format
|
760 |
msgid "Hostname: %s"
|
761 |
msgstr ""
|
762 |
|
763 |
-
#: class/wpmdb.php:
|
764 |
#, php-format
|
765 |
msgid "Database: %s"
|
766 |
msgstr ""
|
767 |
|
768 |
-
#: class/wpmdb.php:
|
769 |
msgid "Failed to write the gzipped SQL data to the file. (#127)"
|
770 |
msgstr ""
|
771 |
|
772 |
-
#: class/wpmdb.php:
|
773 |
msgid "Failed to write the SQL data to the file. (#128)"
|
774 |
msgstr ""
|
775 |
|
776 |
-
#: class/wpmdb.php:
|
777 |
-
#: class/wpmdb.php:
|
778 |
#: class/wpmdbpro.php:1438
|
779 |
msgid "Migrate DB Pro"
|
780 |
msgstr ""
|
781 |
|
782 |
-
#: class/wpmdb.php:
|
783 |
-
#: class/wpmdb.php:
|
784 |
-
#: class/wpmdb.php:
|
785 |
msgid "Migrate DB"
|
786 |
msgstr ""
|
787 |
|
788 |
-
#: class/wpmdb.php:
|
789 |
msgid ""
|
790 |
"A problem occurred when trying to change the maximum request size, please "
|
791 |
"try again."
|
792 |
msgstr ""
|
793 |
|
794 |
-
#: class/wpmdb.php:
|
795 |
#: class/wpmdbpro.php:1084
|
796 |
msgid "A problem occurred when trying to check the license, please try again."
|
797 |
msgstr ""
|
798 |
|
799 |
-
#: class/wpmdb.php:
|
800 |
msgid "Establishing connection to remote server, please wait"
|
801 |
msgstr ""
|
802 |
|
803 |
-
#: class/wpmdb.php:
|
804 |
msgid ""
|
805 |
"A problem occurred when attempting to connect to the local server, please "
|
806 |
"check the details and try again."
|
807 |
msgstr ""
|
808 |
|
809 |
-
#: class/wpmdb.php:
|
810 |
msgid "Please enter your license key."
|
811 |
msgstr ""
|
812 |
|
813 |
-
#: class/wpmdb.php:
|
814 |
msgid ""
|
815 |
"A problem occurred when trying to register the license, please try again."
|
816 |
msgstr ""
|
817 |
|
818 |
-
#: class/wpmdb.php:
|
819 |
msgid ""
|
820 |
"Your license has been activated. You will now receive automatic updates and "
|
821 |
"access to email support."
|
822 |
msgstr ""
|
823 |
|
824 |
-
#: class/wpmdb.php:
|
825 |
msgid "Fetching license details, please wait…"
|
826 |
msgstr ""
|
827 |
|
828 |
-
#: class/wpmdb.php:
|
829 |
msgid ""
|
830 |
"An error occurred when trying to clear the debug log. Please contact "
|
831 |
"support. (#132)"
|
832 |
msgstr ""
|
833 |
|
834 |
-
#: class/wpmdb.php:
|
835 |
msgid ""
|
836 |
"An error occurred when trying to update the debug log. Please contact "
|
837 |
"support. (#133)"
|
838 |
msgstr ""
|
839 |
|
840 |
-
#: class/wpmdb.php:
|
841 |
msgid "Please select at least one table to migrate."
|
842 |
msgstr ""
|
843 |
|
844 |
-
#: class/wpmdb.php:
|
845 |
msgid "Please select at least one table for backup."
|
846 |
msgstr ""
|
847 |
|
848 |
-
#: class/wpmdb.php:
|
849 |
msgid "Please select at least one table for the find & replace"
|
850 |
msgstr ""
|
851 |
|
852 |
-
#: class/wpmdb.php:
|
853 |
msgid "Please enter a name for your migration profile."
|
854 |
msgstr ""
|
855 |
|
856 |
-
#: class/wpmdb.php:
|
857 |
msgid ""
|
858 |
"An error occurred when attempting to save the migration profile. Please see "
|
859 |
"the Help tab for details on how to request support. (#118)"
|
860 |
msgstr ""
|
861 |
|
862 |
-
#: class/wpmdb.php:
|
863 |
msgctxt "Data has been successfully exported"
|
864 |
msgid "Export complete"
|
865 |
msgstr ""
|
866 |
|
867 |
-
#: class/wpmdb.php:
|
868 |
msgid "Exporting, please wait…"
|
869 |
msgstr ""
|
870 |
|
871 |
-
#: class/wpmdb.php:
|
872 |
msgid "please wait…"
|
873 |
msgstr ""
|
874 |
|
875 |
-
#: class/wpmdb.php:
|
876 |
msgctxt "Finished successfully"
|
877 |
msgid "complete"
|
878 |
msgstr ""
|
879 |
|
880 |
-
#: class/wpmdb.php:
|
881 |
msgctxt "Copy of data between servers did not complete"
|
882 |
msgid "Migration failed"
|
883 |
msgstr ""
|
884 |
|
885 |
-
#: class/wpmdb.php:
|
886 |
msgctxt "Saving a copy of the data before import"
|
887 |
msgid "Backing up"
|
888 |
msgstr ""
|
889 |
|
890 |
-
#: class/wpmdb.php:
|
891 |
msgctxt "In line to be processed"
|
892 |
msgid "Queued"
|
893 |
msgstr ""
|
894 |
|
895 |
-
#: class/wpmdb.php:
|
896 |
msgctxt "Copying data between servers"
|
897 |
msgid "Migrating"
|
898 |
msgstr ""
|
899 |
|
900 |
-
#: class/wpmdb.php:
|
901 |
msgctxt "Process is active"
|
902 |
msgid "Running"
|
903 |
msgstr ""
|
904 |
|
905 |
-
#: class/wpmdb.php:
|
906 |
msgctxt "Current request status"
|
907 |
msgid "Status"
|
908 |
msgstr ""
|
909 |
|
910 |
-
#: class/wpmdb.php:
|
911 |
msgctxt "The message the server responded with"
|
912 |
msgid "Response"
|
913 |
msgstr ""
|
914 |
|
915 |
-
#: class/wpmdb.php:
|
916 |
msgid ""
|
917 |
"A problem occurred when attempting to process the following table (#113)"
|
918 |
msgstr ""
|
919 |
|
920 |
-
#: class/wpmdb.php:
|
921 |
msgid ""
|
922 |
"A problem occurred when processing the following table. We were expecting a "
|
923 |
"response in JSON format but instead received an empty response."
|
924 |
msgstr ""
|
925 |
|
926 |
-
#: class/wpmdb.php:
|
927 |
msgid "Migration completed with some errors"
|
928 |
msgstr ""
|
929 |
|
930 |
-
#: class/wpmdb.php:
|
931 |
msgid "Migration complete, your backup is located at:"
|
932 |
msgstr ""
|
933 |
|
934 |
-
#: class/wpmdb.php:
|
935 |
msgid "A problem occurred when finalizing the backup. (#140)"
|
936 |
msgstr ""
|
937 |
|
938 |
-
#: class/wpmdb.php:
|
939 |
msgctxt "The settings were saved successfully"
|
940 |
msgid "Saved"
|
941 |
msgstr ""
|
942 |
|
943 |
-
#: class/wpmdb.php:
|
944 |
msgid ""
|
945 |
"Any sites setup to use the current secret key will no longer be able to "
|
946 |
"connect. You will need to update those sites with the newly generated secret "
|
947 |
"key. Do you wish to continue?"
|
948 |
msgstr ""
|
949 |
|
950 |
-
#: class/wpmdb.php:
|
951 |
msgid ""
|
952 |
"An error occurred when trying to generate the secret key. Please see the "
|
953 |
"Help tab for details on how to request support. (#105)"
|
954 |
msgstr ""
|
955 |
|
956 |
-
#: class/wpmdb.php:
|
957 |
msgid ""
|
958 |
"You are about to remove the migration profile \"{{profile}}\". This cannot "
|
959 |
"be undone. Do you wish to continue?"
|
960 |
msgstr ""
|
961 |
|
962 |
-
#: class/wpmdb.php:
|
963 |
msgid ""
|
964 |
"An error occurred when trying to delete the profile. Please see the Help tab "
|
965 |
"for details on how to request support. (#106)"
|
966 |
msgstr ""
|
967 |
|
968 |
-
#: class/wpmdb.php:
|
969 |
msgid ""
|
970 |
"The selected migration profile could not be deleted because it was not "
|
971 |
"found.\n"
|
@@ -973,273 +973,273 @@ msgid ""
|
|
973 |
"migration profiles."
|
974 |
msgstr ""
|
975 |
|
976 |
-
#: class/wpmdb.php:
|
977 |
msgid ""
|
978 |
"If you change the connection details, you will lose any replaces and table "
|
979 |
"selections you have made below. Do you wish to continue?"
|
980 |
msgstr ""
|
981 |
|
982 |
-
#: class/wpmdb.php:
|
983 |
#: template/migrate.php:119
|
984 |
msgid "Please enter the connection information above to continue."
|
985 |
msgstr ""
|
986 |
|
987 |
-
#: class/wpmdb.php:
|
988 |
msgid ""
|
989 |
"An error occurred when trying to save the settings. Please try again. If the "
|
990 |
"problem persists, please see the Help tab for details on how to request "
|
991 |
"support. (#108)"
|
992 |
msgstr ""
|
993 |
|
994 |
-
#: class/wpmdb.php:
|
995 |
msgid ""
|
996 |
"The connection information appears to be missing, please enter it to "
|
997 |
"continue."
|
998 |
msgstr ""
|
999 |
|
1000 |
-
#: class/wpmdb.php:
|
1001 |
msgid ""
|
1002 |
"The connection information appears to be incorrect, it should consist of two "
|
1003 |
"lines. The first being the remote server's URL and the second being the "
|
1004 |
"secret key."
|
1005 |
msgstr ""
|
1006 |
|
1007 |
-
#: class/wpmdb.php:
|
1008 |
msgid ""
|
1009 |
"The URL on the first line appears to be invalid, please check it and try "
|
1010 |
"again."
|
1011 |
msgstr ""
|
1012 |
|
1013 |
-
#: class/wpmdb.php:
|
1014 |
msgid ""
|
1015 |
"The secret key on the second line appears to be invalid. It should be a 40 "
|
1016 |
"character string that consists of letters, numbers and special characters "
|
1017 |
"only."
|
1018 |
msgstr ""
|
1019 |
|
1020 |
-
#: class/wpmdb.php:
|
1021 |
msgid ""
|
1022 |
"It appears you've entered the URL for this website, you need to provide the "
|
1023 |
"URL of the remote website instead."
|
1024 |
msgstr ""
|
1025 |
|
1026 |
-
#: class/wpmdb.php:
|
1027 |
msgid ""
|
1028 |
"Looks like your remote secret key is the same as the secret key for this "
|
1029 |
"site. To fix this, go to the <a href=\"#settings\">Settings tab</a> and "
|
1030 |
"click \"Reset Secret Key\""
|
1031 |
msgstr ""
|
1032 |
|
1033 |
-
#: class/wpmdb.php:
|
1034 |
msgid "Time Elapsed:"
|
1035 |
msgstr ""
|
1036 |
|
1037 |
-
#: class/wpmdb.php:
|
1038 |
#: template/migrate-progress.php:17
|
1039 |
msgctxt "Temporarily stop migrating"
|
1040 |
msgid "Pause"
|
1041 |
msgstr ""
|
1042 |
|
1043 |
-
#: class/wpmdb.php:
|
1044 |
msgctxt "The migration has been temporarily stopped"
|
1045 |
msgid "Migration Paused"
|
1046 |
msgstr ""
|
1047 |
|
1048 |
-
#: class/wpmdb.php:
|
1049 |
msgctxt "The find & replace has been temporarily stopped"
|
1050 |
msgid "Find & Replace Paused"
|
1051 |
msgstr ""
|
1052 |
|
1053 |
-
#: class/wpmdb.php:
|
1054 |
msgctxt "Restart migrating after it was paused"
|
1055 |
msgid "Resume"
|
1056 |
msgstr ""
|
1057 |
|
1058 |
-
#: class/wpmdb.php:
|
1059 |
msgid "Completing current request"
|
1060 |
msgstr ""
|
1061 |
|
1062 |
-
#: class/wpmdb.php:
|
1063 |
msgctxt "The migration is being cancelled"
|
1064 |
msgid "Cancelling migration"
|
1065 |
msgstr ""
|
1066 |
|
1067 |
-
#: class/wpmdb.php:
|
1068 |
msgctxt "The find & replace is being cancelled"
|
1069 |
msgid "Cancelling find & replace"
|
1070 |
msgstr ""
|
1071 |
|
1072 |
-
#: class/wpmdb.php:
|
1073 |
msgctxt "The migration has been temporarily stopped"
|
1074 |
msgid "Paused"
|
1075 |
msgstr ""
|
1076 |
|
1077 |
-
#: class/wpmdb.php:
|
1078 |
msgid "Pause before finalizing the updates"
|
1079 |
msgstr ""
|
1080 |
|
1081 |
-
#: class/wpmdb.php:
|
1082 |
msgid ""
|
1083 |
"Automatically paused before migrated tables are replaced. Click \"Resume\" "
|
1084 |
"or \"Cancel\" when ready."
|
1085 |
msgstr ""
|
1086 |
|
1087 |
-
#: class/wpmdb.php:
|
1088 |
msgid ""
|
1089 |
"Automatically paused before the find & replace was finalized. Click "
|
1090 |
"\"Resume\" or \"Cancel\" when ready."
|
1091 |
msgstr ""
|
1092 |
|
1093 |
-
#: class/wpmdb.php:
|
1094 |
msgid "Removing the local MySQL export file"
|
1095 |
msgstr ""
|
1096 |
|
1097 |
-
#: class/wpmdb.php:
|
1098 |
msgid "Removing the local backup MySQL export file"
|
1099 |
msgstr ""
|
1100 |
|
1101 |
-
#: class/wpmdb.php:
|
1102 |
msgid "Removing the local temporary tables"
|
1103 |
msgstr ""
|
1104 |
|
1105 |
-
#: class/wpmdb.php:
|
1106 |
msgid "Removing the remote backup MySQL export file"
|
1107 |
msgstr ""
|
1108 |
|
1109 |
-
#: class/wpmdb.php:
|
1110 |
msgid "Removing the remote temporary tables"
|
1111 |
msgstr ""
|
1112 |
|
1113 |
-
#: class/wpmdb.php:
|
1114 |
msgid "Migration cancellation failed"
|
1115 |
msgstr ""
|
1116 |
|
1117 |
-
#: class/wpmdb.php:
|
1118 |
msgid ""
|
1119 |
"A problem occurred while cancelling the migration, you may have to manually "
|
1120 |
"delete some temporary files / tables."
|
1121 |
msgstr ""
|
1122 |
|
1123 |
-
#: class/wpmdb.php:
|
1124 |
msgctxt "The migration has been cancelled"
|
1125 |
msgid "Migration cancelled"
|
1126 |
msgstr ""
|
1127 |
|
1128 |
-
#: class/wpmdb.php:
|
1129 |
msgid ""
|
1130 |
"The migration has been stopped and all temporary files and data have been "
|
1131 |
"cleaned up."
|
1132 |
msgstr ""
|
1133 |
|
1134 |
-
#: class/wpmdb.php:
|
1135 |
msgctxt "The migration has been cancelled"
|
1136 |
msgid "Find & replace cancelled"
|
1137 |
msgstr ""
|
1138 |
|
1139 |
-
#: class/wpmdb.php:
|
1140 |
msgid ""
|
1141 |
"The find & replace has been cancelled and all temporary data has been "
|
1142 |
"cleaned up."
|
1143 |
msgstr ""
|
1144 |
|
1145 |
-
#: class/wpmdb.php:
|
1146 |
msgctxt "The migration completed successfully"
|
1147 |
msgid "Migration complete"
|
1148 |
msgstr ""
|
1149 |
|
1150 |
-
#: class/wpmdb.php:
|
1151 |
msgctxt "The migration is in the last stages"
|
1152 |
msgid "Finalizing migration"
|
1153 |
msgstr ""
|
1154 |
|
1155 |
-
#: class/wpmdb.php:
|
1156 |
msgctxt "The caches and rewrite rules for the target are being flushed"
|
1157 |
msgid "Flushing caches and rewrite rules"
|
1158 |
msgstr ""
|
1159 |
|
1160 |
-
#: class/wpmdb.php:
|
1161 |
msgid "A problem occurred when trying to add plugins to backlist."
|
1162 |
msgstr ""
|
1163 |
|
1164 |
-
#: class/wpmdb.php:
|
1165 |
msgid ""
|
1166 |
"If confirmed we will install an additional WordPress 'Must Use' plugin. This "
|
1167 |
"plugin will allow us to control which plugins are loaded during WP Migrate "
|
1168 |
"DB Pro specific operations. Do you wish to continue?"
|
1169 |
msgstr ""
|
1170 |
|
1171 |
-
#: class/wpmdb.php:
|
1172 |
msgid ""
|
1173 |
"A problem occurred when trying to change the plugin compatibility setting."
|
1174 |
msgstr ""
|
1175 |
|
1176 |
-
#: class/wpmdb.php:
|
1177 |
msgctxt "Confirmation required"
|
1178 |
msgid "Sure?"
|
1179 |
msgstr ""
|
1180 |
|
1181 |
-
#: class/wpmdb.php:
|
1182 |
#, php-format
|
1183 |
msgid "Pulling from %s…"
|
1184 |
msgstr ""
|
1185 |
|
1186 |
-
#: class/wpmdb.php:
|
1187 |
#, php-format
|
1188 |
msgid "Pull from %s complete"
|
1189 |
msgstr ""
|
1190 |
|
1191 |
-
#: class/wpmdb.php:
|
1192 |
#, php-format
|
1193 |
msgid "Pushing to %s…"
|
1194 |
msgstr ""
|
1195 |
|
1196 |
-
#: class/wpmdb.php:
|
1197 |
#, php-format
|
1198 |
msgid "Push to %s complete"
|
1199 |
msgstr ""
|
1200 |
|
1201 |
-
#: class/wpmdb.php:
|
1202 |
msgid "Running Find & Replace…"
|
1203 |
msgstr ""
|
1204 |
|
1205 |
-
#: class/wpmdb.php:
|
1206 |
msgid "Importing…"
|
1207 |
msgstr ""
|
1208 |
|
1209 |
-
#: class/wpmdb.php:
|
1210 |
msgid "Import complete"
|
1211 |
msgstr ""
|
1212 |
|
1213 |
-
#: class/wpmdb.php:
|
1214 |
msgid "Copying license to the remote site, please wait"
|
1215 |
msgstr ""
|
1216 |
|
1217 |
-
#: class/wpmdb.php:
|
1218 |
msgid "Attempting to activate your license, please wait…"
|
1219 |
msgstr ""
|
1220 |
|
1221 |
-
#: class/wpmdb.php:
|
1222 |
msgid "License successfully activated, please wait…"
|
1223 |
msgstr ""
|
1224 |
|
1225 |
-
#: class/wpmdb.php:
|
1226 |
msgid ""
|
1227 |
"An error occurred when trying to reactivate your license. Please provide the "
|
1228 |
"following information when requesting support:"
|
1229 |
msgstr ""
|
1230 |
|
1231 |
-
#: class/wpmdb.php:
|
1232 |
msgid ""
|
1233 |
"<strong>We've temporarily activated your licence and will complete the "
|
1234 |
"activation once the Delicious Brains API is available again.</strong><br /"
|
1235 |
">Please refresh this page to continue."
|
1236 |
msgstr ""
|
1237 |
|
1238 |
-
#: class/wpmdb.php:
|
1239 |
msgid "JSON Decoding Failure"
|
1240 |
msgstr ""
|
1241 |
|
1242 |
-
#: class/wpmdb.php:
|
1243 |
msgid ""
|
1244 |
"Our AJAX request was expecting JSON but we received something else. Often "
|
1245 |
"this is caused by your theme and/or plugins spitting out PHP errors. If you "
|
@@ -1248,113 +1248,113 @@ msgid ""
|
|
1248 |
"disable errors from showing up."
|
1249 |
msgstr ""
|
1250 |
|
1251 |
-
#: class/wpmdb.php:
|
1252 |
msgid "View error messages"
|
1253 |
msgstr ""
|
1254 |
|
1255 |
-
#: class/wpmdb.php:
|
1256 |
#, php-format
|
1257 |
msgid "Waiting %s seconds before executing next step"
|
1258 |
msgstr ""
|
1259 |
|
1260 |
-
#: class/wpmdb.php:
|
1261 |
msgid ""
|
1262 |
"A problem occurred when trying to change the delay between requests, please "
|
1263 |
"try again."
|
1264 |
msgstr ""
|
1265 |
|
1266 |
-
#: class/wpmdb.php:
|
1267 |
msgid "A problem occurred when flushing caches and rewrite rules. (#145)"
|
1268 |
msgstr ""
|
1269 |
|
1270 |
-
#: class/wpmdb.php:
|
1271 |
msgctxt "Transfer this database to the remote site"
|
1272 |
msgid "Push"
|
1273 |
msgstr ""
|
1274 |
|
1275 |
-
#: class/wpmdb.php:
|
1276 |
msgctxt "Transfer this database to the remote site and save migration profile"
|
1277 |
msgid "Push & Save"
|
1278 |
msgstr ""
|
1279 |
|
1280 |
-
#: class/wpmdb.php:
|
1281 |
msgctxt "Transfer the remote database to this site"
|
1282 |
msgid "Pull"
|
1283 |
msgstr ""
|
1284 |
|
1285 |
-
#: class/wpmdb.php:
|
1286 |
msgctxt "Transfer the remote database to this site and save migration profile"
|
1287 |
msgid "Pull & Save"
|
1288 |
msgstr ""
|
1289 |
|
1290 |
-
#: class/wpmdb.php:
|
1291 |
#: template/migrate.php:371
|
1292 |
msgctxt "Download a copy of the database"
|
1293 |
msgid "Export"
|
1294 |
msgstr ""
|
1295 |
|
1296 |
-
#: class/wpmdb.php:
|
1297 |
msgctxt "Download a copy of the database and save migration profile"
|
1298 |
msgid "Export & Save"
|
1299 |
msgstr ""
|
1300 |
|
1301 |
-
#: class/wpmdb.php:
|
1302 |
msgctxt "Import an SQL file into the database"
|
1303 |
msgid "Import"
|
1304 |
msgstr ""
|
1305 |
|
1306 |
-
#: class/wpmdb.php:
|
1307 |
msgctxt "Import an SQL file and save migration profile"
|
1308 |
msgid "Import & Save"
|
1309 |
msgstr ""
|
1310 |
|
1311 |
-
#: class/wpmdb.php:
|
1312 |
msgctxt "Run a find and replace on the database"
|
1313 |
msgid "Find & Replace"
|
1314 |
msgstr ""
|
1315 |
|
1316 |
-
#: class/wpmdb.php:
|
1317 |
msgctxt "Run a find and replace and save migration profile"
|
1318 |
msgid "Find & Replace & Save"
|
1319 |
msgstr ""
|
1320 |
|
1321 |
-
#: class/wpmdb.php:
|
1322 |
msgctxt "database tables"
|
1323 |
msgid "Tables"
|
1324 |
msgstr ""
|
1325 |
|
1326 |
-
#: class/wpmdb.php:
|
1327 |
msgid "Files"
|
1328 |
msgstr ""
|
1329 |
|
1330 |
-
#: class/wpmdb.php:
|
1331 |
msgctxt "Transferred"
|
1332 |
msgid "Migrated"
|
1333 |
msgstr ""
|
1334 |
|
1335 |
-
#: class/wpmdb.php:
|
1336 |
msgid "Backed Up"
|
1337 |
msgstr ""
|
1338 |
|
1339 |
-
#: class/wpmdb.php:
|
1340 |
msgid "Searched"
|
1341 |
msgstr ""
|
1342 |
|
1343 |
-
#: class/wpmdb.php:
|
1344 |
msgctxt "Obscure from view"
|
1345 |
msgid "Hide"
|
1346 |
msgstr ""
|
1347 |
|
1348 |
-
#: class/wpmdb.php:
|
1349 |
msgctxt "Reveal"
|
1350 |
msgid "Show"
|
1351 |
msgstr ""
|
1352 |
|
1353 |
-
#: class/wpmdb.php:
|
1354 |
msgid "Welcome to WP Migrate DB Pro! 🎉"
|
1355 |
msgstr ""
|
1356 |
|
1357 |
-
#: class/wpmdb.php:
|
1358 |
#, php-format
|
1359 |
msgid ""
|
1360 |
"Hey, this is the first time activating your license, nice! Your migrations "
|
@@ -1364,112 +1364,112 @@ msgid ""
|
|
1364 |
"submit a support request."
|
1365 |
msgstr ""
|
1366 |
|
1367 |
-
#: class/wpmdb.php:
|
1368 |
#, php-format
|
1369 |
msgid "%1$s Stage %2$s of %3$s"
|
1370 |
msgstr ""
|
1371 |
|
1372 |
-
#: class/wpmdb.php:
|
1373 |
msgid "Paused"
|
1374 |
msgstr ""
|
1375 |
|
1376 |
-
#: class/wpmdb.php:
|
1377 |
msgid "Cancelling"
|
1378 |
msgstr ""
|
1379 |
|
1380 |
-
#: class/wpmdb.php:
|
1381 |
msgid "Cancelled"
|
1382 |
msgstr ""
|
1383 |
|
1384 |
-
#: class/wpmdb.php:
|
1385 |
msgid "Finalizing"
|
1386 |
msgstr ""
|
1387 |
|
1388 |
-
#: class/wpmdb.php:
|
1389 |
msgid "Complete"
|
1390 |
msgstr ""
|
1391 |
|
1392 |
-
#: class/wpmdb.php:
|
1393 |
msgid "Failed"
|
1394 |
msgstr ""
|
1395 |
|
1396 |
-
#: class/wpmdb.php:
|
1397 |
#, php-format
|
1398 |
msgid "%1$s items are not shown to maintain browser performance"
|
1399 |
msgstr ""
|
1400 |
|
1401 |
-
#: class/wpmdb.php:
|
1402 |
msgctxt "Error log emptied"
|
1403 |
msgid "Cleared"
|
1404 |
msgstr ""
|
1405 |
|
1406 |
-
#: class/wpmdb.php:
|
1407 |
msgid "Parsing SQL file, please wait"
|
1408 |
msgstr ""
|
1409 |
|
1410 |
-
#: class/wpmdb.php:
|
1411 |
msgid ""
|
1412 |
"The selected file does not have a recognized file type. Please upload a "
|
1413 |
"valid SQL file to continue."
|
1414 |
msgstr ""
|
1415 |
|
1416 |
-
#: class/wpmdb.php:
|
1417 |
msgid "Please select an SQL export file above to continue."
|
1418 |
msgstr ""
|
1419 |
|
1420 |
-
#: class/wpmdb.php:
|
1421 |
msgid "Profile Loaded"
|
1422 |
msgstr ""
|
1423 |
|
1424 |
-
#: class/wpmdb.php:
|
1425 |
msgid ""
|
1426 |
"The selected profile has been loaded, please select an SQL export file above "
|
1427 |
"to continue."
|
1428 |
msgstr ""
|
1429 |
|
1430 |
-
#: class/wpmdb.php:
|
1431 |
msgid "Uploading file to the server"
|
1432 |
msgstr ""
|
1433 |
|
1434 |
-
#: class/wpmdb.php:
|
1435 |
#, php-format
|
1436 |
msgid "Importing data from %s"
|
1437 |
msgstr ""
|
1438 |
|
1439 |
-
#: class/wpmdb.php:
|
1440 |
msgid "Upload"
|
1441 |
msgstr ""
|
1442 |
|
1443 |
-
#: class/wpmdb.php:
|
1444 |
#, php-format
|
1445 |
msgid "<h3>Output prevented download. </h3> %s"
|
1446 |
msgstr ""
|
1447 |
|
1448 |
-
#: class/wpmdb.php:
|
1449 |
msgid "Could not find the file to download:"
|
1450 |
msgstr ""
|
1451 |
|
1452 |
-
#: class/wpmdb.php:
|
1453 |
msgid "MySQL export file not found."
|
1454 |
msgstr ""
|
1455 |
|
1456 |
-
#: class/wpmdb.php:
|
1457 |
msgid "Could not delete the MySQL export file."
|
1458 |
msgstr ""
|
1459 |
|
1460 |
-
#: class/wpmdb.php:
|
1461 |
msgid ""
|
1462 |
"WP Migrate DB and WP Migrate DB Pro cannot both be active. We've "
|
1463 |
"automatically deactivated WP Migrate DB."
|
1464 |
msgstr ""
|
1465 |
|
1466 |
-
#: class/wpmdb.php:
|
1467 |
msgid ""
|
1468 |
"WP Migrate DB and WP Migrate DB Pro cannot both be active. We've "
|
1469 |
"automatically deactivated WP Migrate DB Pro."
|
1470 |
msgstr ""
|
1471 |
|
1472 |
-
#: class/wpmdb.php:
|
1473 |
#, php-format
|
1474 |
msgid ""
|
1475 |
"The source site supports utf8mb4 data but the target does not, aborting "
|
@@ -1477,29 +1477,29 @@ msgid ""
|
|
1477 |
"information. (#148)"
|
1478 |
msgstr ""
|
1479 |
|
1480 |
-
#: class/wpmdb.php:
|
1481 |
msgid "Warning: Mixed Case Table Names"
|
1482 |
msgstr ""
|
1483 |
|
1484 |
-
#: class/wpmdb.php:
|
1485 |
msgid ""
|
1486 |
"Whoa! We've detected that your <b>local</b> site has the MySQL setting "
|
1487 |
"<code>lower_case_table_names</code> set to <code>1</code>."
|
1488 |
msgstr ""
|
1489 |
|
1490 |
-
#: class/wpmdb.php:
|
1491 |
msgid ""
|
1492 |
"Whoa! We've detected that your <b>remote</b> site has the MySQL setting "
|
1493 |
"<code>lower_case_table_names</code> set to <code>1</code>."
|
1494 |
msgstr ""
|
1495 |
|
1496 |
-
#: class/wpmdb.php:
|
1497 |
msgid ""
|
1498 |
"As a result, uppercase characters in table names will be converted to "
|
1499 |
"lowercase during the migration."
|
1500 |
msgstr ""
|
1501 |
|
1502 |
-
#: class/wpmdb.php:
|
1503 |
#, php-format
|
1504 |
msgid ""
|
1505 |
"You can read more about this in <a href=\"%s\">our documentation</a>, "
|
@@ -1514,29 +1514,29 @@ msgid ""
|
|
1514 |
"Now</a></strong>"
|
1515 |
msgstr ""
|
1516 |
|
1517 |
-
#: class/wpmdbpro-import.php:
|
1518 |
msgid ""
|
1519 |
"The server is not compatible with gzip, please decompress the import file "
|
1520 |
"and try again."
|
1521 |
msgstr ""
|
1522 |
|
1523 |
-
#: class/wpmdbpro-import.php:
|
1524 |
msgid "Unable to read data from the import file"
|
1525 |
msgstr ""
|
1526 |
|
1527 |
-
#: class/wpmdbpro-import.php:
|
1528 |
msgid "An error occurred while uploading the file."
|
1529 |
msgstr ""
|
1530 |
|
1531 |
-
#: class/wpmdbpro-import.php:
|
1532 |
msgid "An error occurred while decompressing the import file."
|
1533 |
msgstr ""
|
1534 |
|
1535 |
-
#: class/wpmdbpro-import.php:
|
1536 |
msgid "The import file could not be read."
|
1537 |
msgstr ""
|
1538 |
|
1539 |
-
#: class/wpmdbpro-import.php:
|
1540 |
#, php-format
|
1541 |
msgid "Failed to import the SQL query: %s"
|
1542 |
msgstr ""
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: wp-migrate-db\n"
|
10 |
"Report-Msgid-Bugs-To: nom@deliciousbrains.com\n"
|
11 |
+
"POT-Creation-Date: 2017-09-14 12:24-0400\n"
|
12 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
287 |
msgstr ""
|
288 |
|
289 |
#: class/wpmdb-base.php:568
|
290 |
+
#: class/wpmdb.php:4028
|
291 |
msgid "our documentation"
|
292 |
msgstr ""
|
293 |
|
534 |
msgstr ""
|
535 |
|
536 |
#: class/wpmdb-command.php:190
|
537 |
+
#: class/wpmdb.php:3549
|
538 |
msgid "Find & Replace complete"
|
539 |
msgstr ""
|
540 |
|
708 |
"contact support."
|
709 |
msgstr ""
|
710 |
|
711 |
+
#: class/wpmdb.php:2190
|
712 |
#, php-format
|
713 |
msgid ""
|
714 |
"Failed to retrieve table structure for table '%s', please ensure your "
|
715 |
"database is online. (#125)"
|
716 |
msgstr ""
|
717 |
|
718 |
+
#: class/wpmdb.php:2289
|
719 |
#, php-format
|
720 |
msgid "Error creating temporary table. Table \"%s\" does not exist."
|
721 |
msgstr ""
|
722 |
|
723 |
+
#: class/wpmdb.php:2395
|
724 |
#, php-format
|
725 |
msgid "Delete any existing table %s"
|
726 |
msgstr ""
|
727 |
|
728 |
+
#: class/wpmdb.php:2406
|
729 |
#, php-format
|
730 |
msgid "Table structure of table %s"
|
731 |
msgstr ""
|
732 |
|
733 |
+
#: class/wpmdb.php:2414
|
734 |
msgid ""
|
735 |
"Failed to generate the create table query, please ensure your database is "
|
736 |
"online. (#126)"
|
737 |
msgstr ""
|
738 |
|
739 |
+
#: class/wpmdb.php:2470
|
740 |
#, php-format
|
741 |
msgid "Data contents of table %s"
|
742 |
msgstr ""
|
743 |
|
744 |
+
#: class/wpmdb.php:2488
|
745 |
#, php-format
|
746 |
msgid "End of data contents of table %s"
|
747 |
msgstr ""
|
748 |
|
749 |
+
#: class/wpmdb.php:3004
|
750 |
msgid "WordPress MySQL database migration"
|
751 |
msgstr ""
|
752 |
|
753 |
+
#: class/wpmdb.php:3006
|
754 |
#, php-format
|
755 |
msgid "Generated: %s"
|
756 |
msgstr ""
|
757 |
|
758 |
+
#: class/wpmdb.php:3007
|
759 |
#, php-format
|
760 |
msgid "Hostname: %s"
|
761 |
msgstr ""
|
762 |
|
763 |
+
#: class/wpmdb.php:3008
|
764 |
#, php-format
|
765 |
msgid "Database: %s"
|
766 |
msgstr ""
|
767 |
|
768 |
+
#: class/wpmdb.php:3107
|
769 |
msgid "Failed to write the gzipped SQL data to the file. (#127)"
|
770 |
msgstr ""
|
771 |
|
772 |
+
#: class/wpmdb.php:3114
|
773 |
msgid "Failed to write the SQL data to the file. (#128)"
|
774 |
msgstr ""
|
775 |
|
776 |
+
#: class/wpmdb.php:3263
|
777 |
+
#: class/wpmdb.php:3288
|
778 |
#: class/wpmdbpro.php:1438
|
779 |
msgid "Migrate DB Pro"
|
780 |
msgstr ""
|
781 |
|
782 |
+
#: class/wpmdb.php:3263
|
783 |
+
#: class/wpmdb.php:3288
|
784 |
+
#: class/wpmdb.php:3933
|
785 |
msgid "Migrate DB"
|
786 |
msgstr ""
|
787 |
|
788 |
+
#: class/wpmdb.php:3468
|
789 |
msgid ""
|
790 |
"A problem occurred when trying to change the maximum request size, please "
|
791 |
"try again."
|
792 |
msgstr ""
|
793 |
|
794 |
+
#: class/wpmdb.php:3469
|
795 |
#: class/wpmdbpro.php:1084
|
796 |
msgid "A problem occurred when trying to check the license, please try again."
|
797 |
msgstr ""
|
798 |
|
799 |
+
#: class/wpmdb.php:3470
|
800 |
msgid "Establishing connection to remote server, please wait"
|
801 |
msgstr ""
|
802 |
|
803 |
+
#: class/wpmdb.php:3471
|
804 |
msgid ""
|
805 |
"A problem occurred when attempting to connect to the local server, please "
|
806 |
"check the details and try again."
|
807 |
msgstr ""
|
808 |
|
809 |
+
#: class/wpmdb.php:3472
|
810 |
msgid "Please enter your license key."
|
811 |
msgstr ""
|
812 |
|
813 |
+
#: class/wpmdb.php:3473
|
814 |
msgid ""
|
815 |
"A problem occurred when trying to register the license, please try again."
|
816 |
msgstr ""
|
817 |
|
818 |
+
#: class/wpmdb.php:3474
|
819 |
msgid ""
|
820 |
"Your license has been activated. You will now receive automatic updates and "
|
821 |
"access to email support."
|
822 |
msgstr ""
|
823 |
|
824 |
+
#: class/wpmdb.php:3475
|
825 |
msgid "Fetching license details, please wait…"
|
826 |
msgstr ""
|
827 |
|
828 |
+
#: class/wpmdb.php:3476
|
829 |
msgid ""
|
830 |
"An error occurred when trying to clear the debug log. Please contact "
|
831 |
"support. (#132)"
|
832 |
msgstr ""
|
833 |
|
834 |
+
#: class/wpmdb.php:3477
|
835 |
msgid ""
|
836 |
"An error occurred when trying to update the debug log. Please contact "
|
837 |
"support. (#133)"
|
838 |
msgstr ""
|
839 |
|
840 |
+
#: class/wpmdb.php:3478
|
841 |
msgid "Please select at least one table to migrate."
|
842 |
msgstr ""
|
843 |
|
844 |
+
#: class/wpmdb.php:3479
|
845 |
msgid "Please select at least one table for backup."
|
846 |
msgstr ""
|
847 |
|
848 |
+
#: class/wpmdb.php:3480
|
849 |
msgid "Please select at least one table for the find & replace"
|
850 |
msgstr ""
|
851 |
|
852 |
+
#: class/wpmdb.php:3481
|
853 |
msgid "Please enter a name for your migration profile."
|
854 |
msgstr ""
|
855 |
|
856 |
+
#: class/wpmdb.php:3482
|
857 |
msgid ""
|
858 |
"An error occurred when attempting to save the migration profile. Please see "
|
859 |
"the Help tab for details on how to request support. (#118)"
|
860 |
msgstr ""
|
861 |
|
862 |
+
#: class/wpmdb.php:3483
|
863 |
msgctxt "Data has been successfully exported"
|
864 |
msgid "Export complete"
|
865 |
msgstr ""
|
866 |
|
867 |
+
#: class/wpmdb.php:3484
|
868 |
msgid "Exporting, please wait…"
|
869 |
msgstr ""
|
870 |
|
871 |
+
#: class/wpmdb.php:3485
|
872 |
msgid "please wait…"
|
873 |
msgstr ""
|
874 |
|
875 |
+
#: class/wpmdb.php:3486
|
876 |
msgctxt "Finished successfully"
|
877 |
msgid "complete"
|
878 |
msgstr ""
|
879 |
|
880 |
+
#: class/wpmdb.php:3487
|
881 |
msgctxt "Copy of data between servers did not complete"
|
882 |
msgid "Migration failed"
|
883 |
msgstr ""
|
884 |
|
885 |
+
#: class/wpmdb.php:3488
|
886 |
msgctxt "Saving a copy of the data before import"
|
887 |
msgid "Backing up"
|
888 |
msgstr ""
|
889 |
|
890 |
+
#: class/wpmdb.php:3489
|
891 |
msgctxt "In line to be processed"
|
892 |
msgid "Queued"
|
893 |
msgstr ""
|
894 |
|
895 |
+
#: class/wpmdb.php:3490
|
896 |
msgctxt "Copying data between servers"
|
897 |
msgid "Migrating"
|
898 |
msgstr ""
|
899 |
|
900 |
+
#: class/wpmdb.php:3491
|
901 |
msgctxt "Process is active"
|
902 |
msgid "Running"
|
903 |
msgstr ""
|
904 |
|
905 |
+
#: class/wpmdb.php:3492
|
906 |
msgctxt "Current request status"
|
907 |
msgid "Status"
|
908 |
msgstr ""
|
909 |
|
910 |
+
#: class/wpmdb.php:3493
|
911 |
msgctxt "The message the server responded with"
|
912 |
msgid "Response"
|
913 |
msgstr ""
|
914 |
|
915 |
+
#: class/wpmdb.php:3494
|
916 |
msgid ""
|
917 |
"A problem occurred when attempting to process the following table (#113)"
|
918 |
msgstr ""
|
919 |
|
920 |
+
#: class/wpmdb.php:3495
|
921 |
msgid ""
|
922 |
"A problem occurred when processing the following table. We were expecting a "
|
923 |
"response in JSON format but instead received an empty response."
|
924 |
msgstr ""
|
925 |
|
926 |
+
#: class/wpmdb.php:3496
|
927 |
msgid "Migration completed with some errors"
|
928 |
msgstr ""
|
929 |
|
930 |
+
#: class/wpmdb.php:3497
|
931 |
msgid "Migration complete, your backup is located at:"
|
932 |
msgstr ""
|
933 |
|
934 |
+
#: class/wpmdb.php:3498
|
935 |
msgid "A problem occurred when finalizing the backup. (#140)"
|
936 |
msgstr ""
|
937 |
|
938 |
+
#: class/wpmdb.php:3499
|
939 |
msgctxt "The settings were saved successfully"
|
940 |
msgid "Saved"
|
941 |
msgstr ""
|
942 |
|
943 |
+
#: class/wpmdb.php:3500
|
944 |
msgid ""
|
945 |
"Any sites setup to use the current secret key will no longer be able to "
|
946 |
"connect. You will need to update those sites with the newly generated secret "
|
947 |
"key. Do you wish to continue?"
|
948 |
msgstr ""
|
949 |
|
950 |
+
#: class/wpmdb.php:3501
|
951 |
msgid ""
|
952 |
"An error occurred when trying to generate the secret key. Please see the "
|
953 |
"Help tab for details on how to request support. (#105)"
|
954 |
msgstr ""
|
955 |
|
956 |
+
#: class/wpmdb.php:3502
|
957 |
msgid ""
|
958 |
"You are about to remove the migration profile \"{{profile}}\". This cannot "
|
959 |
"be undone. Do you wish to continue?"
|
960 |
msgstr ""
|
961 |
|
962 |
+
#: class/wpmdb.php:3503
|
963 |
msgid ""
|
964 |
"An error occurred when trying to delete the profile. Please see the Help tab "
|
965 |
"for details on how to request support. (#106)"
|
966 |
msgstr ""
|
967 |
|
968 |
+
#: class/wpmdb.php:3504
|
969 |
msgid ""
|
970 |
"The selected migration profile could not be deleted because it was not "
|
971 |
"found.\n"
|
973 |
"migration profiles."
|
974 |
msgstr ""
|
975 |
|
976 |
+
#: class/wpmdb.php:3505
|
977 |
msgid ""
|
978 |
"If you change the connection details, you will lose any replaces and table "
|
979 |
"selections you have made below. Do you wish to continue?"
|
980 |
msgstr ""
|
981 |
|
982 |
+
#: class/wpmdb.php:3506
|
983 |
#: template/migrate.php:119
|
984 |
msgid "Please enter the connection information above to continue."
|
985 |
msgstr ""
|
986 |
|
987 |
+
#: class/wpmdb.php:3507
|
988 |
msgid ""
|
989 |
"An error occurred when trying to save the settings. Please try again. If the "
|
990 |
"problem persists, please see the Help tab for details on how to request "
|
991 |
"support. (#108)"
|
992 |
msgstr ""
|
993 |
|
994 |
+
#: class/wpmdb.php:3508
|
995 |
msgid ""
|
996 |
"The connection information appears to be missing, please enter it to "
|
997 |
"continue."
|
998 |
msgstr ""
|
999 |
|
1000 |
+
#: class/wpmdb.php:3509
|
1001 |
msgid ""
|
1002 |
"The connection information appears to be incorrect, it should consist of two "
|
1003 |
"lines. The first being the remote server's URL and the second being the "
|
1004 |
"secret key."
|
1005 |
msgstr ""
|
1006 |
|
1007 |
+
#: class/wpmdb.php:3510
|
1008 |
msgid ""
|
1009 |
"The URL on the first line appears to be invalid, please check it and try "
|
1010 |
"again."
|
1011 |
msgstr ""
|
1012 |
|
1013 |
+
#: class/wpmdb.php:3511
|
1014 |
msgid ""
|
1015 |
"The secret key on the second line appears to be invalid. It should be a 40 "
|
1016 |
"character string that consists of letters, numbers and special characters "
|
1017 |
"only."
|
1018 |
msgstr ""
|
1019 |
|
1020 |
+
#: class/wpmdb.php:3512
|
1021 |
msgid ""
|
1022 |
"It appears you've entered the URL for this website, you need to provide the "
|
1023 |
"URL of the remote website instead."
|
1024 |
msgstr ""
|
1025 |
|
1026 |
+
#: class/wpmdb.php:3513
|
1027 |
msgid ""
|
1028 |
"Looks like your remote secret key is the same as the secret key for this "
|
1029 |
"site. To fix this, go to the <a href=\"#settings\">Settings tab</a> and "
|
1030 |
"click \"Reset Secret Key\""
|
1031 |
msgstr ""
|
1032 |
|
1033 |
+
#: class/wpmdb.php:3514
|
1034 |
msgid "Time Elapsed:"
|
1035 |
msgstr ""
|
1036 |
|
1037 |
+
#: class/wpmdb.php:3515
|
1038 |
#: template/migrate-progress.php:17
|
1039 |
msgctxt "Temporarily stop migrating"
|
1040 |
msgid "Pause"
|
1041 |
msgstr ""
|
1042 |
|
1043 |
+
#: class/wpmdb.php:3516
|
1044 |
msgctxt "The migration has been temporarily stopped"
|
1045 |
msgid "Migration Paused"
|
1046 |
msgstr ""
|
1047 |
|
1048 |
+
#: class/wpmdb.php:3517
|
1049 |
msgctxt "The find & replace has been temporarily stopped"
|
1050 |
msgid "Find & Replace Paused"
|
1051 |
msgstr ""
|
1052 |
|
1053 |
+
#: class/wpmdb.php:3518
|
1054 |
msgctxt "Restart migrating after it was paused"
|
1055 |
msgid "Resume"
|
1056 |
msgstr ""
|
1057 |
|
1058 |
+
#: class/wpmdb.php:3519
|
1059 |
msgid "Completing current request"
|
1060 |
msgstr ""
|
1061 |
|
1062 |
+
#: class/wpmdb.php:3520
|
1063 |
msgctxt "The migration is being cancelled"
|
1064 |
msgid "Cancelling migration"
|
1065 |
msgstr ""
|
1066 |
|
1067 |
+
#: class/wpmdb.php:3521
|
1068 |
msgctxt "The find & replace is being cancelled"
|
1069 |
msgid "Cancelling find & replace"
|
1070 |
msgstr ""
|
1071 |
|
1072 |
+
#: class/wpmdb.php:3522
|
1073 |
msgctxt "The migration has been temporarily stopped"
|
1074 |
msgid "Paused"
|
1075 |
msgstr ""
|
1076 |
|
1077 |
+
#: class/wpmdb.php:3523
|
1078 |
msgid "Pause before finalizing the updates"
|
1079 |
msgstr ""
|
1080 |
|
1081 |
+
#: class/wpmdb.php:3524
|
1082 |
msgid ""
|
1083 |
"Automatically paused before migrated tables are replaced. Click \"Resume\" "
|
1084 |
"or \"Cancel\" when ready."
|
1085 |
msgstr ""
|
1086 |
|
1087 |
+
#: class/wpmdb.php:3525
|
1088 |
msgid ""
|
1089 |
"Automatically paused before the find & replace was finalized. Click "
|
1090 |
"\"Resume\" or \"Cancel\" when ready."
|
1091 |
msgstr ""
|
1092 |
|
1093 |
+
#: class/wpmdb.php:3526
|
1094 |
msgid "Removing the local MySQL export file"
|
1095 |
msgstr ""
|
1096 |
|
1097 |
+
#: class/wpmdb.php:3527
|
1098 |
msgid "Removing the local backup MySQL export file"
|
1099 |
msgstr ""
|
1100 |
|
1101 |
+
#: class/wpmdb.php:3528
|
1102 |
msgid "Removing the local temporary tables"
|
1103 |
msgstr ""
|
1104 |
|
1105 |
+
#: class/wpmdb.php:3529
|
1106 |
msgid "Removing the remote backup MySQL export file"
|
1107 |
msgstr ""
|
1108 |
|
1109 |
+
#: class/wpmdb.php:3530
|
1110 |
msgid "Removing the remote temporary tables"
|
1111 |
msgstr ""
|
1112 |
|
1113 |
+
#: class/wpmdb.php:3531
|
1114 |
msgid "Migration cancellation failed"
|
1115 |
msgstr ""
|
1116 |
|
1117 |
+
#: class/wpmdb.php:3532
|
1118 |
msgid ""
|
1119 |
"A problem occurred while cancelling the migration, you may have to manually "
|
1120 |
"delete some temporary files / tables."
|
1121 |
msgstr ""
|
1122 |
|
1123 |
+
#: class/wpmdb.php:3533
|
1124 |
msgctxt "The migration has been cancelled"
|
1125 |
msgid "Migration cancelled"
|
1126 |
msgstr ""
|
1127 |
|
1128 |
+
#: class/wpmdb.php:3534
|
1129 |
msgid ""
|
1130 |
"The migration has been stopped and all temporary files and data have been "
|
1131 |
"cleaned up."
|
1132 |
msgstr ""
|
1133 |
|
1134 |
+
#: class/wpmdb.php:3535
|
1135 |
msgctxt "The migration has been cancelled"
|
1136 |
msgid "Find & replace cancelled"
|
1137 |
msgstr ""
|
1138 |
|
1139 |
+
#: class/wpmdb.php:3536
|
1140 |
msgid ""
|
1141 |
"The find & replace has been cancelled and all temporary data has been "
|
1142 |
"cleaned up."
|
1143 |
msgstr ""
|
1144 |
|
1145 |
+
#: class/wpmdb.php:3537
|
1146 |
msgctxt "The migration completed successfully"
|
1147 |
msgid "Migration complete"
|
1148 |
msgstr ""
|
1149 |
|
1150 |
+
#: class/wpmdb.php:3538
|
1151 |
msgctxt "The migration is in the last stages"
|
1152 |
msgid "Finalizing migration"
|
1153 |
msgstr ""
|
1154 |
|
1155 |
+
#: class/wpmdb.php:3539
|
1156 |
msgctxt "The caches and rewrite rules for the target are being flushed"
|
1157 |
msgid "Flushing caches and rewrite rules"
|
1158 |
msgstr ""
|
1159 |
|
1160 |
+
#: class/wpmdb.php:3540
|
1161 |
msgid "A problem occurred when trying to add plugins to backlist."
|
1162 |
msgstr ""
|
1163 |
|
1164 |
+
#: class/wpmdb.php:3541
|
1165 |
msgid ""
|
1166 |
"If confirmed we will install an additional WordPress 'Must Use' plugin. This "
|
1167 |
"plugin will allow us to control which plugins are loaded during WP Migrate "
|
1168 |
"DB Pro specific operations. Do you wish to continue?"
|
1169 |
msgstr ""
|
1170 |
|
1171 |
+
#: class/wpmdb.php:3542
|
1172 |
msgid ""
|
1173 |
"A problem occurred when trying to change the plugin compatibility setting."
|
1174 |
msgstr ""
|
1175 |
|
1176 |
+
#: class/wpmdb.php:3543
|
1177 |
msgctxt "Confirmation required"
|
1178 |
msgid "Sure?"
|
1179 |
msgstr ""
|
1180 |
|
1181 |
+
#: class/wpmdb.php:3544
|
1182 |
#, php-format
|
1183 |
msgid "Pulling from %s…"
|
1184 |
msgstr ""
|
1185 |
|
1186 |
+
#: class/wpmdb.php:3545
|
1187 |
#, php-format
|
1188 |
msgid "Pull from %s complete"
|
1189 |
msgstr ""
|
1190 |
|
1191 |
+
#: class/wpmdb.php:3546
|
1192 |
#, php-format
|
1193 |
msgid "Pushing to %s…"
|
1194 |
msgstr ""
|
1195 |
|
1196 |
+
#: class/wpmdb.php:3547
|
1197 |
#, php-format
|
1198 |
msgid "Push to %s complete"
|
1199 |
msgstr ""
|
1200 |
|
1201 |
+
#: class/wpmdb.php:3548
|
1202 |
msgid "Running Find & Replace…"
|
1203 |
msgstr ""
|
1204 |
|
1205 |
+
#: class/wpmdb.php:3550
|
1206 |
msgid "Importing…"
|
1207 |
msgstr ""
|
1208 |
|
1209 |
+
#: class/wpmdb.php:3551
|
1210 |
msgid "Import complete"
|
1211 |
msgstr ""
|
1212 |
|
1213 |
+
#: class/wpmdb.php:3552
|
1214 |
msgid "Copying license to the remote site, please wait"
|
1215 |
msgstr ""
|
1216 |
|
1217 |
+
#: class/wpmdb.php:3553
|
1218 |
msgid "Attempting to activate your license, please wait…"
|
1219 |
msgstr ""
|
1220 |
|
1221 |
+
#: class/wpmdb.php:3554
|
1222 |
msgid "License successfully activated, please wait…"
|
1223 |
msgstr ""
|
1224 |
|
1225 |
+
#: class/wpmdb.php:3555
|
1226 |
msgid ""
|
1227 |
"An error occurred when trying to reactivate your license. Please provide the "
|
1228 |
"following information when requesting support:"
|
1229 |
msgstr ""
|
1230 |
|
1231 |
+
#: class/wpmdb.php:3556
|
1232 |
msgid ""
|
1233 |
"<strong>We've temporarily activated your licence and will complete the "
|
1234 |
"activation once the Delicious Brains API is available again.</strong><br /"
|
1235 |
">Please refresh this page to continue."
|
1236 |
msgstr ""
|
1237 |
|
1238 |
+
#: class/wpmdb.php:3557
|
1239 |
msgid "JSON Decoding Failure"
|
1240 |
msgstr ""
|
1241 |
|
1242 |
+
#: class/wpmdb.php:3558
|
1243 |
msgid ""
|
1244 |
"Our AJAX request was expecting JSON but we received something else. Often "
|
1245 |
"this is caused by your theme and/or plugins spitting out PHP errors. If you "
|
1248 |
"disable errors from showing up."
|
1249 |
msgstr ""
|
1250 |
|
1251 |
+
#: class/wpmdb.php:3559
|
1252 |
msgid "View error messages"
|
1253 |
msgstr ""
|
1254 |
|
1255 |
+
#: class/wpmdb.php:3560
|
1256 |
#, php-format
|
1257 |
msgid "Waiting %s seconds before executing next step"
|
1258 |
msgstr ""
|
1259 |
|
1260 |
+
#: class/wpmdb.php:3561
|
1261 |
msgid ""
|
1262 |
"A problem occurred when trying to change the delay between requests, please "
|
1263 |
"try again."
|
1264 |
msgstr ""
|
1265 |
|
1266 |
+
#: class/wpmdb.php:3562
|
1267 |
msgid "A problem occurred when flushing caches and rewrite rules. (#145)"
|
1268 |
msgstr ""
|
1269 |
|
1270 |
+
#: class/wpmdb.php:3563
|
1271 |
msgctxt "Transfer this database to the remote site"
|
1272 |
msgid "Push"
|
1273 |
msgstr ""
|
1274 |
|
1275 |
+
#: class/wpmdb.php:3564
|
1276 |
msgctxt "Transfer this database to the remote site and save migration profile"
|
1277 |
msgid "Push & Save"
|
1278 |
msgstr ""
|
1279 |
|
1280 |
+
#: class/wpmdb.php:3565
|
1281 |
msgctxt "Transfer the remote database to this site"
|
1282 |
msgid "Pull"
|
1283 |
msgstr ""
|
1284 |
|
1285 |
+
#: class/wpmdb.php:3566
|
1286 |
msgctxt "Transfer the remote database to this site and save migration profile"
|
1287 |
msgid "Pull & Save"
|
1288 |
msgstr ""
|
1289 |
|
1290 |
+
#: class/wpmdb.php:3567
|
1291 |
#: template/migrate.php:371
|
1292 |
msgctxt "Download a copy of the database"
|
1293 |
msgid "Export"
|
1294 |
msgstr ""
|
1295 |
|
1296 |
+
#: class/wpmdb.php:3568
|
1297 |
msgctxt "Download a copy of the database and save migration profile"
|
1298 |
msgid "Export & Save"
|
1299 |
msgstr ""
|
1300 |
|
1301 |
+
#: class/wpmdb.php:3569
|
1302 |
msgctxt "Import an SQL file into the database"
|
1303 |
msgid "Import"
|
1304 |
msgstr ""
|
1305 |
|
1306 |
+
#: class/wpmdb.php:3570
|
1307 |
msgctxt "Import an SQL file and save migration profile"
|
1308 |
msgid "Import & Save"
|
1309 |
msgstr ""
|
1310 |
|
1311 |
+
#: class/wpmdb.php:3571
|
1312 |
msgctxt "Run a find and replace on the database"
|
1313 |
msgid "Find & Replace"
|
1314 |
msgstr ""
|
1315 |
|
1316 |
+
#: class/wpmdb.php:3572
|
1317 |
msgctxt "Run a find and replace and save migration profile"
|
1318 |
msgid "Find & Replace & Save"
|
1319 |
msgstr ""
|
1320 |
|
1321 |
+
#: class/wpmdb.php:3573
|
1322 |
msgctxt "database tables"
|
1323 |
msgid "Tables"
|
1324 |
msgstr ""
|
1325 |
|
1326 |
+
#: class/wpmdb.php:3574
|
1327 |
msgid "Files"
|
1328 |
msgstr ""
|
1329 |
|
1330 |
+
#: class/wpmdb.php:3575
|
1331 |
msgctxt "Transferred"
|
1332 |
msgid "Migrated"
|
1333 |
msgstr ""
|
1334 |
|
1335 |
+
#: class/wpmdb.php:3576
|
1336 |
msgid "Backed Up"
|
1337 |
msgstr ""
|
1338 |
|
1339 |
+
#: class/wpmdb.php:3577
|
1340 |
msgid "Searched"
|
1341 |
msgstr ""
|
1342 |
|
1343 |
+
#: class/wpmdb.php:3578
|
1344 |
msgctxt "Obscure from view"
|
1345 |
msgid "Hide"
|
1346 |
msgstr ""
|
1347 |
|
1348 |
+
#: class/wpmdb.php:3579
|
1349 |
msgctxt "Reveal"
|
1350 |
msgid "Show"
|
1351 |
msgstr ""
|
1352 |
|
1353 |
+
#: class/wpmdb.php:3580
|
1354 |
msgid "Welcome to WP Migrate DB Pro! 🎉"
|
1355 |
msgstr ""
|
1356 |
|
1357 |
+
#: class/wpmdb.php:3581
|
1358 |
#, php-format
|
1359 |
msgid ""
|
1360 |
"Hey, this is the first time activating your license, nice! Your migrations "
|
1364 |
"submit a support request."
|
1365 |
msgstr ""
|
1366 |
|
1367 |
+
#: class/wpmdb.php:3582
|
1368 |
#, php-format
|
1369 |
msgid "%1$s Stage %2$s of %3$s"
|
1370 |
msgstr ""
|
1371 |
|
1372 |
+
#: class/wpmdb.php:3583
|
1373 |
msgid "Paused"
|
1374 |
msgstr ""
|
1375 |
|
1376 |
+
#: class/wpmdb.php:3584
|
1377 |
msgid "Cancelling"
|
1378 |
msgstr ""
|
1379 |
|
1380 |
+
#: class/wpmdb.php:3585
|
1381 |
msgid "Cancelled"
|
1382 |
msgstr ""
|
1383 |
|
1384 |
+
#: class/wpmdb.php:3586
|
1385 |
msgid "Finalizing"
|
1386 |
msgstr ""
|
1387 |
|
1388 |
+
#: class/wpmdb.php:3587
|
1389 |
msgid "Complete"
|
1390 |
msgstr ""
|
1391 |
|
1392 |
+
#: class/wpmdb.php:3588
|
1393 |
msgid "Failed"
|
1394 |
msgstr ""
|
1395 |
|
1396 |
+
#: class/wpmdb.php:3589
|
1397 |
#, php-format
|
1398 |
msgid "%1$s items are not shown to maintain browser performance"
|
1399 |
msgstr ""
|
1400 |
|
1401 |
+
#: class/wpmdb.php:3590
|
1402 |
msgctxt "Error log emptied"
|
1403 |
msgid "Cleared"
|
1404 |
msgstr ""
|
1405 |
|
1406 |
+
#: class/wpmdb.php:3591
|
1407 |
msgid "Parsing SQL file, please wait"
|
1408 |
msgstr ""
|
1409 |
|
1410 |
+
#: class/wpmdb.php:3592
|
1411 |
msgid ""
|
1412 |
"The selected file does not have a recognized file type. Please upload a "
|
1413 |
"valid SQL file to continue."
|
1414 |
msgstr ""
|
1415 |
|
1416 |
+
#: class/wpmdb.php:3593
|
1417 |
msgid "Please select an SQL export file above to continue."
|
1418 |
msgstr ""
|
1419 |
|
1420 |
+
#: class/wpmdb.php:3594
|
1421 |
msgid "Profile Loaded"
|
1422 |
msgstr ""
|
1423 |
|
1424 |
+
#: class/wpmdb.php:3594
|
1425 |
msgid ""
|
1426 |
"The selected profile has been loaded, please select an SQL export file above "
|
1427 |
"to continue."
|
1428 |
msgstr ""
|
1429 |
|
1430 |
+
#: class/wpmdb.php:3595
|
1431 |
msgid "Uploading file to the server"
|
1432 |
msgstr ""
|
1433 |
|
1434 |
+
#: class/wpmdb.php:3596
|
1435 |
#, php-format
|
1436 |
msgid "Importing data from %s"
|
1437 |
msgstr ""
|
1438 |
|
1439 |
+
#: class/wpmdb.php:3597
|
1440 |
msgid "Upload"
|
1441 |
msgstr ""
|
1442 |
|
1443 |
+
#: class/wpmdb.php:3636
|
1444 |
#, php-format
|
1445 |
msgid "<h3>Output prevented download. </h3> %s"
|
1446 |
msgstr ""
|
1447 |
|
1448 |
+
#: class/wpmdb.php:3639
|
1449 |
msgid "Could not find the file to download:"
|
1450 |
msgstr ""
|
1451 |
|
1452 |
+
#: class/wpmdb.php:3868
|
1453 |
msgid "MySQL export file not found."
|
1454 |
msgstr ""
|
1455 |
|
1456 |
+
#: class/wpmdb.php:3873
|
1457 |
msgid "Could not delete the MySQL export file."
|
1458 |
msgstr ""
|
1459 |
|
1460 |
+
#: class/wpmdb.php:3939
|
1461 |
msgid ""
|
1462 |
"WP Migrate DB and WP Migrate DB Pro cannot both be active. We've "
|
1463 |
"automatically deactivated WP Migrate DB."
|
1464 |
msgstr ""
|
1465 |
|
1466 |
+
#: class/wpmdb.php:3941
|
1467 |
msgid ""
|
1468 |
"WP Migrate DB and WP Migrate DB Pro cannot both be active. We've "
|
1469 |
"automatically deactivated WP Migrate DB Pro."
|
1470 |
msgstr ""
|
1471 |
|
1472 |
+
#: class/wpmdb.php:4028
|
1473 |
#, php-format
|
1474 |
msgid ""
|
1475 |
"The source site supports utf8mb4 data but the target does not, aborting "
|
1477 |
"information. (#148)"
|
1478 |
msgstr ""
|
1479 |
|
1480 |
+
#: class/wpmdb.php:4079
|
1481 |
msgid "Warning: Mixed Case Table Names"
|
1482 |
msgstr ""
|
1483 |
|
1484 |
+
#: class/wpmdb.php:4082
|
1485 |
msgid ""
|
1486 |
"Whoa! We've detected that your <b>local</b> site has the MySQL setting "
|
1487 |
"<code>lower_case_table_names</code> set to <code>1</code>."
|
1488 |
msgstr ""
|
1489 |
|
1490 |
+
#: class/wpmdb.php:4084
|
1491 |
msgid ""
|
1492 |
"Whoa! We've detected that your <b>remote</b> site has the MySQL setting "
|
1493 |
"<code>lower_case_table_names</code> set to <code>1</code>."
|
1494 |
msgstr ""
|
1495 |
|
1496 |
+
#: class/wpmdb.php:4087
|
1497 |
msgid ""
|
1498 |
"As a result, uppercase characters in table names will be converted to "
|
1499 |
"lowercase during the migration."
|
1500 |
msgstr ""
|
1501 |
|
1502 |
+
#: class/wpmdb.php:4089
|
1503 |
#, php-format
|
1504 |
msgid ""
|
1505 |
"You can read more about this in <a href=\"%s\">our documentation</a>, "
|
1514 |
"Now</a></strong>"
|
1515 |
msgstr ""
|
1516 |
|
1517 |
+
#: class/wpmdbpro-import.php:63
|
1518 |
msgid ""
|
1519 |
"The server is not compatible with gzip, please decompress the import file "
|
1520 |
"and try again."
|
1521 |
msgstr ""
|
1522 |
|
1523 |
+
#: class/wpmdbpro-import.php:74
|
1524 |
msgid "Unable to read data from the import file"
|
1525 |
msgstr ""
|
1526 |
|
1527 |
+
#: class/wpmdbpro-import.php:143
|
1528 |
msgid "An error occurred while uploading the file."
|
1529 |
msgstr ""
|
1530 |
|
1531 |
+
#: class/wpmdbpro-import.php:172
|
1532 |
msgid "An error occurred while decompressing the import file."
|
1533 |
msgstr ""
|
1534 |
|
1535 |
+
#: class/wpmdbpro-import.php:268
|
1536 |
msgid "The import file could not be read."
|
1537 |
msgstr ""
|
1538 |
|
1539 |
+
#: class/wpmdbpro-import.php:361
|
1540 |
#, php-format
|
1541 |
msgid "Failed to import the SQL query: %s"
|
1542 |
msgstr ""
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: migrate, migration, export, data dump, backup, database, mysql
|
5 |
Requires at least: 3.6
|
6 |
Tested up to: 4.8.1
|
7 |
-
Stable tag: 1.0
|
8 |
License: GPLv2
|
9 |
|
10 |
Migrates your database by running find & replace on URLs and file paths, handling serialized data, and saving an SQL file.
|
@@ -89,6 +89,10 @@ If you upgrade to [WP Migrate DB Pro](http://deliciousbrains.com/wp-migrate-db-p
|
|
89 |
|
90 |
== Changelog ==
|
91 |
|
|
|
|
|
|
|
|
|
92 |
= WP Migrate DB 1.0 - 2017-08-11 =
|
93 |
* New: Plugins and themes are disabled by default for HTTP requests made by WP Migrate DB Pro for better performance and compatibility
|
94 |
* Improvement: Page is reloaded automatically after migrations that alter the wp_options, wp_users, and wp_usermeta tables
|
4 |
Tags: migrate, migration, export, data dump, backup, database, mysql
|
5 |
Requires at least: 3.6
|
6 |
Tested up to: 4.8.1
|
7 |
+
Stable tag: 1.0.1
|
8 |
License: GPLv2
|
9 |
|
10 |
Migrates your database by running find & replace on URLs and file paths, handling serialized data, and saving an SQL file.
|
89 |
|
90 |
== Changelog ==
|
91 |
|
92 |
+
= WP Migrate DB 1.0.1 - 2017-09-14 =
|
93 |
+
* Bug Fix: Parse error on PHP 5.2
|
94 |
+
* Bug Fix: Row not set for `wpmdb_replace_custom_data` filter
|
95 |
+
|
96 |
= WP Migrate DB 1.0 - 2017-08-11 =
|
97 |
* New: Plugins and themes are disabled by default for HTTP requests made by WP Migrate DB Pro for better performance and compatibility
|
98 |
* Improvement: Page is reloaded automatically after migrations that alter the wp_options, wp_users, and wp_usermeta tables
|
wp-migrate-db.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Migrate DB
|
|
4 |
Plugin URI: http://wordpress.org/plugins/wp-migrate-db/
|
5 |
Description: Exports your database as a MySQL data dump (much like phpMyAdmin), does a find and replace on URLs and file paths, then allows you to save it to your computer.
|
6 |
Author: Delicious Brains
|
7 |
-
Version: 1.0
|
8 |
Author URI: http://deliciousbrains.com
|
9 |
Network: True
|
10 |
Text Domain: wp-migrate-db
|
@@ -22,7 +22,7 @@ Domain Path: /languages/
|
|
22 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
23 |
// **********************************************************************
|
24 |
|
25 |
-
$GLOBALS['wpmdb_meta']['wp-migrate-db']['version'] = '1.0';
|
26 |
|
27 |
if ( ! class_exists( 'WPMDB_Utils' ) ) {
|
28 |
require dirname( __FILE__ ) . '/class/wpmdb-utils.php';
|
4 |
Plugin URI: http://wordpress.org/plugins/wp-migrate-db/
|
5 |
Description: Exports your database as a MySQL data dump (much like phpMyAdmin), does a find and replace on URLs and file paths, then allows you to save it to your computer.
|
6 |
Author: Delicious Brains
|
7 |
+
Version: 1.0.1
|
8 |
Author URI: http://deliciousbrains.com
|
9 |
Network: True
|
10 |
Text Domain: wp-migrate-db
|
22 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
23 |
// **********************************************************************
|
24 |
|
25 |
+
$GLOBALS['wpmdb_meta']['wp-migrate-db']['version'] = '1.0.1';
|
26 |
|
27 |
if ( ! class_exists( 'WPMDB_Utils' ) ) {
|
28 |
require dirname( __FILE__ ) . '/class/wpmdb-utils.php';
|