Change changelog URL for extension version info to new cloudfront url

This commit is contained in:
Gerhard 2013-06-27 11:33:08 +02:00
parent c038f396f9
commit 1df330a3e2
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ function woocommerce_status_report() {
if ( strstr( $dirname, 'woocommerce' ) ) {
if ( false === ( $version_data = get_transient( $plugin . '_version_data' ) ) ) {
$changelog = wp_remote_get( 'http://www.woothemes.com/changelogs/extensions/' . $dirname . '/changelog.txt' );
$changelog = wp_remote_get( 'http://dzv365zjfbd8v.cloudfront.net/changelogs/' . $dirname . '/changelog.txt' );
$cl_lines = explode( "\n", wp_remote_retrieve_body( $changelog ) );
if ( ! empty( $cl_lines ) ) {
foreach ( $cl_lines as $line_num => $cl_line ) {