Making WordPress.org

Changeset 12432


Ignore:
Timestamp:
02/27/2023 08:15:38 AM (15 months ago)
Author:
spiraltee
Message:

Translate: Fix fuzzy rejection sync

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-plugin-directory/inc/sync/class-translation-sync.php

    r12400 r12432  
    136136        global $wpdb;
    137137
    138         $allowed_statuses = array( "current", "rejected", "changesrequested", "fuzzy" );
     138        $allowed_statuses = array( 'current', 'rejected', 'changesrequested', 'fuzzy' );
    139139       
    140140        // Do not propagate waiting translations and other translations with warnings.
     
    250250                }
    251251
    252                 $_existing_translation->set_as_current();
     252                $_existing_translation->set_status( $translation->status );
    253253                gp_clean_translation_set_cache( $new_translation_set->id );
    254254
Note: See TracChangeset for help on using the changeset viewer.