From 1b37564f35140aa611fa6387f3bbfa1c008d53bb Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sat, 5 Oct 2013 10:58:20 +0000 Subject: [PATCH] Send current SSL status to the plugin information API endpoint so we can render screenshots over SSL if appropriate. fixes #11009. git-svn-id: https://develop.svn.wordpress.org/trunk@25691 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/plugin-install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/plugin-install.php b/src/wp-admin/includes/plugin-install.php index 105be01b31..7f1e0f2c62 100644 --- a/src/wp-admin/includes/plugin-install.php +++ b/src/wp-admin/includes/plugin-install.php @@ -304,7 +304,7 @@ function install_plugin_install_status($api, $loop = false) { function install_plugin_information() { global $tab; - $api = plugins_api('plugin_information', array('slug' => wp_unslash( $_REQUEST['plugin'] ) )); + $api = plugins_api( 'plugin_information', array( 'slug' => wp_unslash( $_REQUEST['plugin'] ), 'is_ssl' => is_ssl() ) ); if ( is_wp_error($api) ) wp_die($api);