- Timestamp:
- 07/07/2014 07:09:50 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/translations/core/1.0/index.php
r711 r739 14 14 call_headers( 'application/json' ); 15 15 16 echo json_encode( array( 'languages' => $translations ) ); 16 if ( version_compare( $version, '4.0-alpha-29017-src', '>=' ) ) { 17 echo json_encode( array( 'translations' => $translations ) ); 18 } else { 19 echo json_encode( array( 'languages' => $translations ) ); 20 } 21 17 22 exit; 18 23
Note: See TracChangeset
for help on using the changeset viewer.