diff --git a/wp-admin/includes/theme.php b/wp-admin/includes/theme.php index 91e92995ec..70abab68ad 100644 --- a/wp-admin/includes/theme.php +++ b/wp-admin/includes/theme.php @@ -114,6 +114,7 @@ function delete_theme( $stylesheet, $redirect = '' ) { foreach ( $translations as $translation => $data ) { $wp_filesystem->delete( WP_LANG_DIR . '/themes/' . $stylesheet . '-' . $translation . '.po' ); $wp_filesystem->delete( WP_LANG_DIR . '/themes/' . $stylesheet . '-' . $translation . '.mo' ); + $wp_filesystem->delete( WP_LANG_DIR . '/themes/' . $stylesheet . '-' . $translation . '.l10n.php' ); $json_translation_files = glob( WP_LANG_DIR . '/themes/' . $stylesheet . '-' . $translation . '-*.json' ); if ( $json_translation_files ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 5faf27afe4..2e40280f81 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57381'; +$wp_version = '6.5-alpha-57382'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.