Skip to content

Commit

Permalink
release ready for 0.1.0.71
Browse files Browse the repository at this point in the history
  • Loading branch information
jaedm97 committed Dec 16, 2024
1 parent 4e79dc8 commit 63db1e3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
23 changes: 10 additions & 13 deletions dest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,11 @@
file_put_contents( 'iwp_log.txt', "Migration log started \n" );
}

//if ( ! isset( $_SERVER['HTTP_X_IWP_MIGRATE_KEY'] ) || empty( $migrate_key = $_SERVER['HTTP_X_IWP_MIGRATE_KEY'] ) ) {
// header( 'x-iwp-status: false' );
// header( 'x-iwp-message: Empty migrate key.' );
// die();
//}

$migrate_key = '5cb668fcb18dc05fc5908ead160bb3aecab03b62';
$api_signature = 'b65957bb2a6cef2a189847d19328c420740080b11bdbb611eabad2ce46e5e9d634c4de8ed48e93556ebc38545b80cc44f1fd3dbc9bfc786ee50da4961454b309';
if ( ! isset( $_SERVER['HTTP_X_IWP_MIGRATE_KEY'] ) || empty( $migrate_key = $_SERVER['HTTP_X_IWP_MIGRATE_KEY'] ) ) {
header( 'x-iwp-status: false' );
header( 'x-iwp-message: Empty migrate key.' );
die();
}

$root_dir_data = iwp_get_wp_root_directory();
$root_dir_find = isset( $root_dir_data['status'] ) ? $root_dir_data['status'] : false;
Expand Down Expand Up @@ -62,11 +59,11 @@
die();
}

//if ( ! isset( $api_signature ) || ! isset( $_SERVER['HTTP_X_IWP_API_SIGNATURE'] ) || ! hash_equals( $api_signature, $_SERVER['HTTP_X_IWP_API_SIGNATURE'] ) ) {
// header( 'x-iwp-status: false' );
// header( 'x-iwp-message: (Push) The given api signature and the stored one are not matching, maybe the tracking database reset or wrong api signature passed to migration script.' );
// die();
//}
if ( ! isset( $api_signature ) || ! isset( $_SERVER['HTTP_X_IWP_API_SIGNATURE'] ) || ! hash_equals( $api_signature, $_SERVER['HTTP_X_IWP_API_SIGNATURE'] ) ) {
header( 'x-iwp-status: false' );
header( 'x-iwp-message: (Push) The given api signature and the stored one are not matching, maybe the tracking database reset or wrong api signature passed to migration script.' );
die();
}

$has_zip_archive = class_exists( 'ZipArchive' );
$has_phar_data = class_exists( 'PharData' );
Expand Down
4 changes: 2 additions & 2 deletions instawp-connect.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @wordpress-plugin
* Plugin Name: InstaWP Connect
* Description: 1-click WordPress plugin for Staging, Migrations, Management, Sync and Companion plugin for InstaWP.
* Version: 0.1.0.70
* Version: 0.1.0.71
* Author: InstaWP Team
* Author URI: https://instawp.com/
* License: GPL-3.0+
Expand All @@ -26,7 +26,7 @@

global $wpdb;

defined( 'INSTAWP_PLUGIN_VERSION' ) || define( 'INSTAWP_PLUGIN_VERSION', '0.1.0.70' );
defined( 'INSTAWP_PLUGIN_VERSION' ) || define( 'INSTAWP_PLUGIN_VERSION', '0.1.0.71' );
defined( 'INSTAWP_API_DOMAIN_PROD' ) || define( 'INSTAWP_API_DOMAIN_PROD', 'https://app.instawp.io' );

$wp_plugin_url = WP_PLUGIN_URL . '/' . plugin_basename( __DIR__ ) . '/';
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: clone, migrate, staging, backup, restore
Requires at least: 5.6
Tested up to: 6.7
Requires PHP: 7.0
Stable tag: 0.1.0.70
Stable tag: 0.1.0.71
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html

Expand Down Expand Up @@ -98,6 +98,9 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro

== Changelog ==

= 0.1.0.71 - 16 December 2024 =
- FIX: Fix push migration issue.

= 0.1.0.70 - 16 December 2024 =
- NEW: Added white label support for enterprise customers.
- NEW: Added support to toggle Activity logs via REST API.
Expand Down

0 comments on commit 63db1e3

Please sign in to comment.