- Timestamp:
- 08/19/2015 03:42:45 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/translations/core/1.0/index.php
r1294 r1833 21 21 call_headers( 'application/json' ); 22 22 23 // Remove the following crud after 4.2 is released24 // https://core.trac.wordpress.org/ticket/3131925 if ( version_compare( $version, '4.2', '<' ) ) {26 foreach ( $translations as $t ) {27 if ( 'haz' == $t->language ) {28 $t->iso = (object)array( 1 => 'haz', 2 => 'haz' );29 }30 }31 }32 33 23 echo json_encode( array( 'translations' => $translations ) ); 34 24
Note: See TracChangeset
for help on using the changeset viewer.