[wp-trac] [WordPress Trac] #28376: Improve error message seen by user in update.php
WordPress Trac
noreply at wordpress.org
Tue May 27 15:33:57 UTC 2014
#28376: Improve error message seen by user in update.php
-------------------------+-----------------------------
Reporter: podz | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.9.1
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
Line 117 of update.php
{{{
$response = wp_remote_post( $url, $options );
if ( $ssl && is_wp_error( $response ) ) {
trigger_error( __( '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="https://wordpress.org/support/">support forums</a>.' ) . ' ' . __(
'(WordPress could not establish a secure connection to WordPress.org.
Please contact your server administrator.)' ), headers_sent() || WP_DEBUG
? E_USER_WARNING : E_USER_NOTICE );
$response = wp_remote_post( $http_url, $options );
}
}}}
The message "Something may be wrong with WordPress.org or this server's
configuration. If you continue to have problems, please try the support
forums" could be better. Right now if wordpress.org is up (which code can
check?) then the problem is with their host. If they post to the Support
forums there is no easy answer there.
While there is a solution to this mentioned in #27091 that solution is not
suitable for most users.
I would suggest a longer timeout and a message that they could copy to
their webhost to assist the host if a connection is being blocked.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28376>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list