- Timestamp:
- 02/23/2015 08:53:06 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/translations/core/1.0/index.php
r1042 r1294 21 21 call_headers( 'application/json' ); 22 22 23 // Remove the following crud after 4.2 is released 24 // https://core.trac.wordpress.org/ticket/31319 25 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 23 33 echo json_encode( array( 'translations' => $translations ) ); 24 34
Note: See TracChangeset
for help on using the changeset viewer.