diff options
Diffstat (limited to '')
-rw-r--r-- | wp-admin/includes/translation-install.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wp-admin/includes/translation-install.php b/wp-admin/includes/translation-install.php index 01c61bb..ef9fcc6 100644 --- a/wp-admin/includes/translation-install.php +++ b/wp-admin/includes/translation-install.php @@ -59,7 +59,8 @@ function translations_api( $type, $args = null ) { $request = wp_remote_post( $url, $options ); if ( $ssl && is_wp_error( $request ) ) { - 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>.' ), |