Changeset 5388 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/standalone/class-plugins-info-api.php
- Timestamp:
- 04/20/2017 12:23:26 PM (8 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
r5194 r5388 10 10 11 11 protected $format = 'json'; 12 protected $jsonp = false; 12 13 protected $formats = array( 13 14 'jsonp' => 'application/javascript', … … 20 21 if ( is_array( $format ) && 'jsonp' == $format[0] ) { 21 22 $this->jsonp = $format[1]; 22 $format = 'json ';23 $format = 'jsonp'; 23 24 } 24 25 $this->format = $format;
Note: See TracChangeset
for help on using the changeset viewer.