Changeset 11155 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-plugin-directory/inc/cli/class-import-plugin-translations.php
- Timestamp:
- 07/28/2021 08:09:44 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-plugin-directory/inc/cli/class-import-plugin-translations.php
r2946 r11155 66 66 67 67 add_filter( 'translation_set_import_over_existing', '__return_false' ); 68 //add_filter( 'translation_set_import_status', array( $this, '__string_status_waiting' ) );68 add_filter( 'translation_set_import_status', array( $this, '__string_status_waiting' ) ); 69 69 70 70 // Do the import. 71 71 $imported = $translation_set->import( $translations ); 72 72 73 //remove_filter( 'translation_set_import_status', '__string_status_waiting' );73 remove_filter( 'translation_set_import_status', '__string_status_waiting' ); 74 74 remove_filter( 'translation_set_import_over_existing', '__return_false' ); 75 75
Note: See TracChangeset
for help on using the changeset viewer.