WordPress.org

Make WordPress Core

Changeset 25691


Ignore:
Timestamp:
10/05/2013 10:58:20 AM (5 years ago)
Author:
nacin
Message:

Send current SSL status to the plugin information API endpoint so we can render screenshots over SSL if appropriate. fixes #11009.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/plugin-install.php

    r25511 r25691  
    305305    global $tab;
    306306
    307     $api = plugins_api('plugin_information', array('slug' => wp_unslash( $_REQUEST['plugin'] ) ));
     307    $api = plugins_api( 'plugin_information', array( 'slug' => wp_unslash( $_REQUEST['plugin'] ), 'is_ssl' => is_ssl() ) );
    308308
    309309    if ( is_wp_error($api) )
Note: See TracChangeset for help on using the changeset viewer.