diff --git a/plugins/woocommerce-beta-tester/readme.txt b/plugins/woocommerce-beta-tester/readme.txt index 4b83bd0f00f..236ceb36a08 100644 --- a/plugins/woocommerce-beta-tester/readme.txt +++ b/plugins/woocommerce-beta-tester/readme.txt @@ -3,9 +3,9 @@ Author URI: http://woothemes.com/ Plugin URI: https://github.com/woothemes/woocommerce-beta-tester Contributors: woothemes, mikejolley, claudiosanches Tags: woocommerce, wc, beta, beta tester, bleeding edge -Requires at least: 4.2 -Tested up to: 4.4 -Stable Tag: 1.0.2 +Requires at least: 4.4 +Tested up to: 4.8 +Stable Tag: 1.0.3 Run bleeding edge versions of WooCommerce from our Github repo. This will replace your installed version of WooCommerce with the latest tagged release on Github - use with caution, and not on production sites. You have been warned. @@ -21,7 +21,10 @@ Based on WP_GitHub_Updater by Joachim Kudish and code by Patrick Garman. == Changelog == -= 1.0.1 = += 1.0.3 = +* Fix repo URLs and directory renaming. + += 1.0.2 = * Updated API URL. = 1.0.1 = diff --git a/plugins/woocommerce-beta-tester/woocommerce-beta-tester.php b/plugins/woocommerce-beta-tester/woocommerce-beta-tester.php index 98c704f95bb..29c95868070 100644 --- a/plugins/woocommerce-beta-tester/woocommerce-beta-tester.php +++ b/plugins/woocommerce-beta-tester/woocommerce-beta-tester.php @@ -1,13 +1,13 @@ 'woocommerce', 'proper_folder_name' => 'woocommerce', 'api_url' => 'https://api.github.com/repos/woocommerce/woocommerce', - 'github_url' => 'https://github.com/woothemes/woocommerce', + 'github_url' => 'https://github.com/woocommerce/woocommerce', 'requires' => '4.4', 'tested' => '4.4' ); @@ -84,7 +84,7 @@ elseif ( ! class_exists( 'WC_Beta_Tester' ) ) : $this->config[ 'new_version' ] = $this->get_latest_prerelease(); $this->config[ 'last_updated' ] = $this->get_date(); $this->config[ 'description' ] = $this->get_description(); - $this->config[ 'zip_url' ] = 'https://github.com/woothemes/woocommerce/zipball/' . $this->config[ 'new_version' ]; + $this->config[ 'zip_url' ] = 'https://github.com/woocommerce/woocommerce/zipball/' . $this->config[ 'new_version' ]; } /** @@ -278,7 +278,7 @@ elseif ( ! class_exists( 'WC_Beta_Tester' ) ) : public function upgrader_source_selection( $source, $remote_source, $upgrader ) { global $wp_filesystem; - if ( strstr( $source, '/woothemes-woocommerce-' ) ) { + if ( strstr( $source, '/woocommerce-woocommerce-' ) ) { $corrected_source = trailingslashit( $remote_source ) . trailingslashit( $this->config[ 'proper_folder_name' ] ); if ( $wp_filesystem->move( $source, $corrected_source, true ) ) { @@ -306,7 +306,7 @@ if ( ! function_exists( 'wcbt_woocoommerce_not_installed' ) ) { function wcbt_woocoommerce_not_installed() { - echo '
' . sprintf( __( 'WooCommerce Beta Tester requires %s to be installed.', 'woocommerce-beta-tester' ), 'WooCommerce' ) . '
' . sprintf( __( 'WooCommerce Beta Tester requires %s to be installed.', 'woocommerce-beta-tester' ), 'WooCommerce' ) . '