wp core update 6.6
This commit is contained in:
@@ -202,7 +202,8 @@ function wp_version_check( $extra_stats = array(), $force_check = false ) {
|
||||
$response = wp_remote_post( $url, $options );
|
||||
|
||||
if ( $ssl && is_wp_error( $response ) ) {
|
||||
trigger_error(
|
||||
wp_trigger_error(
|
||||
__FUNCTION__,
|
||||
sprintf(
|
||||
/* translators: %s: Support forums URL. */
|
||||
__( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="%s">support forums</a>.' ),
|
||||
@@ -440,7 +441,8 @@ function wp_update_plugins( $extra_stats = array() ) {
|
||||
$raw_response = wp_remote_post( $url, $options );
|
||||
|
||||
if ( $ssl && is_wp_error( $raw_response ) ) {
|
||||
trigger_error(
|
||||
wp_trigger_error(
|
||||
__FUNCTION__,
|
||||
sprintf(
|
||||
/* translators: %s: Support forums URL. */
|
||||
__( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="%s">support forums</a>.' ),
|
||||
@@ -721,7 +723,8 @@ function wp_update_themes( $extra_stats = array() ) {
|
||||
$raw_response = wp_remote_post( $url, $options );
|
||||
|
||||
if ( $ssl && is_wp_error( $raw_response ) ) {
|
||||
trigger_error(
|
||||
wp_trigger_error(
|
||||
__FUNCTION__,
|
||||
sprintf(
|
||||
/* translators: %s: Support forums URL. */
|
||||
__( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="%s">support forums</a>.' ),
|
||||
|
||||
Reference in New Issue
Block a user