Ticket #29719: 29719.patch
| File 29719.patch, 1.2 KB (added by , 10 years ago) |
|---|
-
wp-includes/update.php
22 22 * @param bool $force_check Whether to bypass the transient cache and force a fresh update check. Defaults to false, true if $extra_stats is set. 23 23 */ 24 24 function wp_version_check( $extra_stats = array(), $force_check = false ) { 25 if ( defined( 'WP_INSTALLING' ) ) {25 if ( defined( 'WP_INSTALLING' ) || defined( 'WP_HTTP_BLOCK_EXTERNAL' ) ) { 26 26 return; 27 27 } 28 28 … … 187 187 * @param array $extra_stats Extra statistics to report to the WordPress.org API. 188 188 */ 189 189 function wp_update_plugins( $extra_stats = array() ) { 190 if ( defined( 'WP_INSTALLING' ) ) {190 if ( defined( 'WP_INSTALLING' ) || defined( 'WP_HTTP_BLOCK_EXTERNAL' ) ) { 191 191 return; 192 192 } 193 193 … … 344 344 * @param array $extra_stats Extra statistics to report to the WordPress.org API. 345 345 */ 346 346 function wp_update_themes( $extra_stats = array() ) { 347 if ( defined( 'WP_INSTALLING' ) ) {347 if ( defined( 'WP_INSTALLING' ) || defined( 'WP_HTTP_BLOCK_EXTERNAL' ) ) { 348 348 return; 349 349 } 350 350 global $wp_version;