Making WordPress.org


Ignore:
Timestamp:
08/19/2015 03:42:45 AM (9 years ago)
Author:
dd32
Message:

Translations: Remove some temporary 4.1 code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/api.wordpress.org/public_html/translations/core/1.0/index.php

    r1294 r1833  
    2121call_headers( 'application/json' );
    2222
    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 
    3323echo json_encode( array( 'translations' => $translations ) );
    3424
Note: See TracChangeset for help on using the changeset viewer.