Changeset 5384
- Timestamp:
- 04/20/2017 09:33:18 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-plugin-directory/inc/cli/class-set-plugin-project.php
r4018 r5384 271 271 private function get_plugin_details( $slug ) { 272 272 $http_context = $this->get_http_context(); 273 $json = @file_get_contents( "https://api.wordpress.org/plugins/info/1.0/{$slug}.json?fields=stable_tag ", false, $http_context );273 $json = @file_get_contents( "https://api.wordpress.org/plugins/info/1.0/{$slug}.json?fields=stable_tag,short_description", false, $http_context ); 274 274 275 275 $details = $json && '{' == $json[0] ? json_decode( $json ) : null;
Note: See TracChangeset
for help on using the changeset viewer.