summaryrefslogtreecommitdiffstats
path: root/wp-admin/includes/translation-install.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-admin/includes/translation-install.php')
-rw-r--r--wp-admin/includes/translation-install.php3
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&#8217;s configuration. If you continue to have problems, please try the <a href="%s">support forums</a>.' ),