Changeset 39325 for trunk/src/wp-admin/includes/update.php
- Timestamp:
- 11/21/2016 01:51:39 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/update.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/update.php
r39323 r39325 113 113 $response = wp_remote_get( $url, $options ); 114 114 if ( $ssl && is_wp_error( $response ) ) { 115 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 ); 115 trigger_error( 116 sprintf( 117 /* translators: %s: support forums URL */ 118 __( '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>.' ), 119 __( 'https://wordpress.org/support/' ) 120 ) . ' ' . __( '(WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.)' ), 121 headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE 122 ); 116 123 $response = wp_remote_get( $http_url, $options ); 117 124 }
Note: See TracChangeset
for help on using the changeset viewer.