Changeset 6464 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/standalone/class-plugins-info-api.php
- Timestamp:
- 01/30/2018 05:40:49 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/standalone/class-plugins-info-api.php
r6463 r6464 85 85 86 86 // Backwards compatibility; the API returns null in case of error.. 87 if ( isset( $response['error'] ) && ( ! defined( 'PLUGINS_API_SUPPORTS_ERRORS' ) || ! PLUGINS_API_SUPPORTS_ERRORS ) ) { 87 // This is now feature-flagged by the PLUGINS_API_SUPPORTS_ERRORS constant which is defined as `true` in info/1.2 and later. 88 if ( isset( $response['error'] ) && ( defined( 'PLUGINS_API_SUPPORTS_ERRORS' ) && ! PLUGINS_API_SUPPORTS_ERRORS ) ) { 88 89 $this->output( null ); 89 90 return;
Note: See TracChangeset
for help on using the changeset viewer.