Changeset 44675 for trunk/src/wp-admin/includes/theme.php
- Timestamp:
- 01/21/2019 08:40:56 PM (7 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/theme.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/theme.php
r44643 r44675 89 89 $wp_filesystem->delete( WP_LANG_DIR . '/themes/' . $stylesheet . '-' . $translation . '.po' ); 90 90 $wp_filesystem->delete( WP_LANG_DIR . '/themes/' . $stylesheet . '-' . $translation . '.mo' ); 91 92 $json_translation_files = glob( WP_LANG_DIR . '/themes/' . $stylesheet . '-' . $translation . '-*.json' ); 93 if ( $json_translation_files ) { 94 array_map( array( $wp_filesystem, 'delete' ), $json_translation_files ); 95 } 91 96 } 92 97 }
Note: See TracChangeset
for help on using the changeset viewer.