summaryrefslogtreecommitdiffstats
path: root/wp-admin/includes/theme.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-admin/includes/theme.php')
-rw-r--r--wp-admin/includes/theme.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/wp-admin/includes/theme.php b/wp-admin/includes/theme.php
index 36dc28b..64ef380 100644
--- a/wp-admin/includes/theme.php
+++ b/wp-admin/includes/theme.php
@@ -568,7 +568,8 @@ function themes_api( $action, $args = array() ) {
if ( $ssl && is_wp_error( $request ) ) {
if ( ! wp_doing_ajax() ) {
- 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>.' ),