Changeset 45583 for trunk/src/wp-admin/includes/plugin-install.php
- Timestamp:
- 07/01/2019 12:50:14 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin-install.php
r45563 r45583 161 161 162 162 $http_url = $url; 163 if ( $ssl = wp_http_supports( array( 'ssl' ) ) ) { 163 $ssl = wp_http_supports( array( 'ssl' ) ); 164 if ( $ssl ) { 164 165 $url = set_url_scheme( $url, 'https' ); 165 166 } … … 239 240 */ 240 241 function install_popular_tags( $args = array() ) { 241 $key = md5( serialize( $args ) ); 242 if ( false !== ( $tags = get_site_transient( 'poptags_' . $key ) ) ) { 242 $key = md5( serialize( $args ) ); 243 $tags = get_site_transient( 'poptags_' . $key ); 244 if ( false !== $tags ) { 243 245 return $tags; 244 246 }
Note: See TracChangeset
for help on using the changeset viewer.