Changeset 12421 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/standalone/class-plugins-info-api.php
- Timestamp:
- 02/23/2023 08:59:25 AM (2 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
r11914 r12421 311 311 case 'json': 312 312 case 'jsonp': 313 if ( ! function_exists( 'wp_json_encode' ) && defined( ' WPORGAPIPATH' ) ) {314 require WPORGAPIPATH . '/includes/wp-json-encode.php';313 if ( ! function_exists( 'wp_json_encode' ) && defined( 'API_WPORGPATH' ) ) { 314 require API_WPORGPATH . '/includes/wp-json-encode.php'; 315 315 } 316 316 $json = function_exists( 'wp_json_encode' ) ? wp_json_encode( $response ) : json_encode( $response );
Note: See TracChangeset
for help on using the changeset viewer.