Changeset 41605 for trunk/src/wp-admin/includes/plugin-install.php
- Timestamp:
- 09/27/2017 07:59:14 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin-install.php
r41289 r41605 142 142 143 143 if ( false === $res ) { 144 // include an unmodified $wp_version 145 include( ABSPATH . WPINC . '/version.php' ); 146 144 147 $url = $http_url = 'http://api.wordpress.org/plugins/info/1.0/'; 145 148 if ( $ssl = wp_http_supports( array( 'ssl' ) ) ) … … 148 151 $http_args = array( 149 152 'timeout' => 15, 153 'user-agent' => 'WordPress/' . $wp_version . '; ' . home_url( '/' ), 150 154 'body' => array( 151 155 'action' => $action,
Note: See TracChangeset
for help on using the changeset viewer.