Changeset 44675 for trunk/src/wp-admin/includes/plugin.php
- Timestamp:
- 01/21/2019 08:40:56 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r44674 r44675 1049 1049 $wp_filesystem->delete( WP_LANG_DIR . '/plugins/' . $plugin_slug . '-' . $translation . '.po' ); 1050 1050 $wp_filesystem->delete( WP_LANG_DIR . '/plugins/' . $plugin_slug . '-' . $translation . '.mo' ); 1051 1052 $json_translation_files = glob( WP_LANG_DIR . '/plugins/' . $plugin_slug . '-' . $translation . '-*.json' ); 1053 if ( $json_translation_files ) { 1054 array_map( array( $wp_filesystem, 'delete' ), $json_translation_files ); 1055 } 1051 1056 } 1052 1057 }
Note: See TracChangeset
for help on using the changeset viewer.