diff --git a/src/wp-to-twitter.php b/src/wp-to-twitter.php index dd5da93..4eefb41 100644 --- a/src/wp-to-twitter.php +++ b/src/wp-to-twitter.php @@ -1932,9 +1932,12 @@ function wpt_plugin_update_message() { define( 'WPT_PLUGIN_README_URL', 'http://svn.wp-plugins.org/wp-to-twitter/trunk/readme.txt' ); $response = wp_remote_get( WPT_PLUGIN_README_URL, array( 'user-agent' => 'WordPress/XPoster' . $wpt_version . '; ' . get_bloginfo( 'url' ) ) ); if ( ! is_wp_error( $response ) || is_array( $response ) ) { - $data = $response['body']; - $bits = explode( '== Upgrade Notice ==', $data ); - $note = '