Changeset 5389 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/standalone/class-plugins-info-api.php
- Timestamp:
- 04/20/2017 12:29:51 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
r5388 r5389 20 20 function __construct( $format = 'json' ) { 21 21 if ( is_array( $format ) && 'jsonp' == $format[0] ) { 22 $this->jsonp = $format[1];22 $this->jsonp = preg_replace( '/[^a-zA-Z0-9_]/', '', $format[1] ); 23 23 $format = 'jsonp'; 24 24 }
Note: See TracChangeset
for help on using the changeset viewer.