From fc0a79914946dac00ccd51b1aacffe267de7210e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 19 Sep 2024 06:51:22 +0200 Subject: Merging upstream version 6.6.1+dfsg1. Signed-off-by: Daniel Baumann --- wp-admin/includes/plugin-install.php | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'wp-admin/includes/plugin-install.php') diff --git a/wp-admin/includes/plugin-install.php b/wp-admin/includes/plugin-install.php index 704d81b..59537e2 100644 --- a/wp-admin/includes/plugin-install.php +++ b/wp-admin/includes/plugin-install.php @@ -174,7 +174,8 @@ function plugins_api( $action, $args = array() ) { if ( $ssl && is_wp_error( $request ) ) { if ( ! wp_is_json_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 support forums.' ), @@ -320,6 +321,8 @@ function install_search_form( $deprecated = true ) { ?>
+ +