diff --git a/src/wp-admin/includes/plugin-install.php b/src/wp-admin/includes/plugin-install.php
index b5f770d65a..078ae3b104 100644
|
a
|
b
|
function plugins_api( $action, $args = array() ) {
|
| 173 | 173 | if ( $ssl && is_wp_error( $request ) ) { |
| 174 | 174 | trigger_error( |
| 175 | 175 | sprintf( |
| 176 | | /* translators: %s: support forums URL */ |
| 177 | | __( '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>.' ), |
| | 176 | /* translators: %s: support URL */ |
| | 177 | __( '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</a>.' ), |
| 178 | 178 | __( 'https://wordpress.org/support/' ) |
| 179 | 179 | ) . ' ' . __( '(WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.)' ), |
| 180 | 180 | headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE |
| … |
… |
function plugins_api( $action, $args = array() ) {
|
| 186 | 186 | $res = new WP_Error( |
| 187 | 187 | 'plugins_api_failed', |
| 188 | 188 | sprintf( |
| 189 | | /* translators: %s: support forums URL */ |
| 190 | | __( '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>.' ), |
| | 189 | /* translators: %s: support URL */ |
| | 190 | __( '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</a>.' ), |
| 191 | 191 | __( 'https://wordpress.org/support/' ) |
| 192 | 192 | ), |
| 193 | 193 | $request->get_error_message() |
| … |
… |
function plugins_api( $action, $args = array() ) {
|
| 201 | 201 | $res = new WP_Error( |
| 202 | 202 | 'plugins_api_failed', |
| 203 | 203 | sprintf( |
| 204 | | /* translators: %s: support forums URL */ |
| 205 | | __( '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>.' ), |
| | 204 | /* translators: %s: support URL */ |
| | 205 | __( '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</a>.' ), |
| 206 | 206 | __( 'https://wordpress.org/support/' ) |
| 207 | 207 | ), |
| 208 | 208 | wp_remote_retrieve_body( $request ) |
diff --git a/src/wp-admin/includes/theme.php b/src/wp-admin/includes/theme.php
index f1d0d374bd..78a52b2124 100644
|
a
|
b
|
function themes_api( $action, $args = array() ) {
|
| 503 | 503 | if ( ! wp_doing_ajax() ) { |
| 504 | 504 | trigger_error( |
| 505 | 505 | sprintf( |
| 506 | | /* translators: %s: support forums URL */ |
| 507 | | __( '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>.' ), |
| | 506 | /* translators: %s: support URL */ |
| | 507 | __( '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</a>.' ), |
| 508 | 508 | __( 'https://wordpress.org/support/' ) |
| 509 | 509 | ) . ' ' . __( '(WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.)' ), |
| 510 | 510 | headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE |
| … |
… |
function themes_api( $action, $args = array() ) {
|
| 517 | 517 | $res = new WP_Error( |
| 518 | 518 | 'themes_api_failed', |
| 519 | 519 | sprintf( |
| 520 | | /* translators: %s: support forums URL */ |
| 521 | | __( '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>.' ), |
| | 520 | /* translators: %s: support URL */ |
| | 521 | __( '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</a>.' ), |
| 522 | 522 | __( 'https://wordpress.org/support/' ) |
| 523 | 523 | ), |
| 524 | 524 | $request->get_error_message() |
| … |
… |
function themes_api( $action, $args = array() ) {
|
| 532 | 532 | $res = new WP_Error( |
| 533 | 533 | 'themes_api_failed', |
| 534 | 534 | sprintf( |
| 535 | | /* translators: %s: support forums URL */ |
| 536 | | __( '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>.' ), |
| | 535 | /* translators: %s: support URL */ |
| | 536 | __( '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</a>.' ), |
| 537 | 537 | __( 'https://wordpress.org/support/' ) |
| 538 | 538 | ), |
| 539 | 539 | wp_remote_retrieve_body( $request ) |
diff --git a/src/wp-admin/includes/translation-install.php b/src/wp-admin/includes/translation-install.php
index 73d27fb1b2..7ff5380155 100644
|
a
|
b
|
function translations_api( $type, $args = null ) {
|
| 58 | 58 | if ( $ssl && is_wp_error( $request ) ) { |
| 59 | 59 | trigger_error( |
| 60 | 60 | sprintf( |
| 61 | | /* translators: %s: support forums URL */ |
| 62 | | __( '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>.' ), |
| | 61 | /* translators: %s: support URL */ |
| | 62 | __( '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</a>.' ), |
| 63 | 63 | __( 'https://wordpress.org/support/' ) |
| 64 | 64 | ) . ' ' . __( '(WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.)' ), |
| 65 | 65 | headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE |
| … |
… |
function translations_api( $type, $args = null ) {
|
| 72 | 72 | $res = new WP_Error( |
| 73 | 73 | 'translations_api_failed', |
| 74 | 74 | sprintf( |
| 75 | | /* translators: %s: support forums URL */ |
| 76 | | __( '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>.' ), |
| | 75 | /* translators: %s: support URL */ |
| | 76 | __( '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</a>.' ), |
| 77 | 77 | __( 'https://wordpress.org/support/' ) |
| 78 | 78 | ), |
| 79 | 79 | $request->get_error_message() |
| … |
… |
function translations_api( $type, $args = null ) {
|
| 84 | 84 | $res = new WP_Error( |
| 85 | 85 | 'translations_api_failed', |
| 86 | 86 | sprintf( |
| 87 | | /* translators: %s: support forums URL */ |
| 88 | | __( '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>.' ), |
| | 87 | /* translators: %s: support URL */ |
| | 88 | __( '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</a>.' ), |
| 89 | 89 | __( 'https://wordpress.org/support/' ) |
| 90 | 90 | ), |
| 91 | 91 | wp_remote_retrieve_body( $request ) |
diff --git a/src/wp-admin/includes/update.php b/src/wp-admin/includes/update.php
index 1a4bee003a..0bbdfee63d 100644
|
a
|
b
|
function get_core_checksums( $version, $locale ) {
|
| 130 | 130 | if ( $ssl && is_wp_error( $response ) ) { |
| 131 | 131 | trigger_error( |
| 132 | 132 | sprintf( |
| 133 | | /* translators: %s: support forums URL */ |
| 134 | | __( '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>.' ), |
| | 133 | /* translators: %s: support URL */ |
| | 134 | __( '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</a>.' ), |
| 135 | 135 | __( 'https://wordpress.org/support/' ) |
| 136 | 136 | ) . ' ' . __( '(WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.)' ), |
| 137 | 137 | headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE |
diff --git a/src/wp-admin/theme-install.php b/src/wp-admin/theme-install.php
index 8184297991..d996d3853e 100644
|
a
|
b
|
wp_localize_script(
|
| 58 | 58 | 'upload' => __( 'Upload Theme' ), |
| 59 | 59 | 'back' => __( 'Back' ), |
| 60 | 60 | 'error' => sprintf( |
| 61 | | /* translators: %s: support forums URL */ |
| 62 | | __( '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>.' ), |
| | 61 | /* translators: %s: support URL */ |
| | 62 | __( '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</a>.' ), |
| 63 | 63 | __( 'https://wordpress.org/support/' ) |
| 64 | 64 | ), |
| 65 | 65 | 'tryAgain' => __( 'Try Again' ), |
diff --git a/src/wp-includes/customize/class-wp-customize-themes-section.php b/src/wp-includes/customize/class-wp-customize-themes-section.php
index b112552e23..8f20357102 100644
|
a
|
b
|
class WP_Customize_Themes_Section extends WP_Customize_Section {
|
| 81 | 81 | <?php $this->filter_bar_content_template(); ?> |
| 82 | 82 | </div> |
| 83 | 83 | <?php $this->filter_drawer_content_template(); ?> |
| 84 | | <div class="error unexpected-error" style="display: none; "><p><?php _e( '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>.' ); ?></p></div> |
| | 84 | <div class="error unexpected-error" style="display: none; "><p><?php _e( '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</a>.' ); ?></p></div> |
| 85 | 85 | <ul class="themes"> |
| 86 | 86 | </ul> |
| 87 | 87 | <p class="no-themes"><?php _e( 'No themes found. Try a different search.' ); ?></p> |
diff --git a/src/wp-includes/update.php b/src/wp-includes/update.php
index 824575099b..4afa579221 100644
|
a
|
b
|
function wp_version_check( $extra_stats = array(), $force_check = false ) {
|
| 153 | 153 | if ( $ssl && is_wp_error( $response ) ) { |
| 154 | 154 | trigger_error( |
| 155 | 155 | sprintf( |
| 156 | | /* translators: %s: support forums URL */ |
| 157 | | __( '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>.' ), |
| | 156 | /* translators: %s: support URL */ |
| | 157 | __( '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</a>.' ), |
| 158 | 158 | __( 'https://wordpress.org/support/' ) |
| 159 | 159 | ) . ' ' . __( '(WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.)' ), |
| 160 | 160 | headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE |
| … |
… |
function wp_update_plugins( $extra_stats = array() ) {
|
| 377 | 377 | if ( $ssl && is_wp_error( $raw_response ) ) { |
| 378 | 378 | trigger_error( |
| 379 | 379 | sprintf( |
| 380 | | /* translators: %s: support forums URL */ |
| 381 | | __( '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>.' ), |
| | 380 | /* translators: %s: support URL */ |
| | 381 | __( '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</a>.' ), |
| 382 | 382 | __( 'https://wordpress.org/support/' ) |
| 383 | 383 | ) . ' ' . __( '(WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.)' ), |
| 384 | 384 | headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE |
| … |
… |
function wp_update_themes( $extra_stats = array() ) {
|
| 562 | 562 | if ( $ssl && is_wp_error( $raw_response ) ) { |
| 563 | 563 | trigger_error( |
| 564 | 564 | sprintf( |
| 565 | | /* translators: %s: support forums URL */ |
| 566 | | __( '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>.' ), |
| | 565 | /* translators: %s: support URL */ |
| | 566 | __( '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</a>.' ), |
| 567 | 567 | __( 'https://wordpress.org/support/' ) |
| 568 | 568 | ) . ' ' . __( '(WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.)' ), |
| 569 | 569 | headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE |
diff --git a/src/wp-login.php b/src/wp-login.php
index 5ecf5f0dbf..143b4c42a0 100644
|
a
|
b
|
switch ( $action ) {
|
| 938 | 938 | $user = new WP_Error( |
| 939 | 939 | 'test_cookie', |
| 940 | 940 | sprintf( |
| 941 | | /* translators: 1: Browser cookie documentation URL, 2: Support forums URL */ |
| 942 | | __( '<strong>ERROR</strong>: Cookies are blocked due to unexpected output. For help, please see <a href="%1$s">this documentation</a> or try the <a href="%2$s">support forums</a>.' ), |
| | 941 | /* translators: 1: Browser cookie documentation URL, 2: Support URL */ |
| | 942 | __( '<strong>ERROR</strong>: Cookies are blocked due to unexpected output. For help, please see <a href="%1$s">this documentation</a> or try the <a href="%2$s">support</a>.' ), |
| 943 | 943 | __( 'https://wordpress.org/support/article/cookies/' ), |
| 944 | 944 | __( 'https://wordpress.org/support/' ) |
| 945 | 945 | ) |