From 8392f942a471d53a8946ce722f6c29d3770a9f05 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sat, 5 Oct 2013 10:59:12 +0000 Subject: [PATCH] Send current SSL status to the plugin information API endpoint so we can render screenshots over SSL if appropriate. fixes #11009. Built from https://develop.svn.wordpress.org/trunk@25691 git-svn-id: http://core.svn.wordpress.org/trunk@25607 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/plugin-install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/plugin-install.php b/wp-admin/includes/plugin-install.php index 105be01b31..7f1e0f2c62 100644 --- a/wp-admin/includes/plugin-install.php +++ b/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);