Skip to content

Commit 51a8c4f

Browse files
committed
fix: prime missing $transient in WP_Debug_Data:get_wp_themes_inactive()
1 parent d870b1b commit 51a8c4f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/wp-admin/includes/class-wp-debug-data.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,6 +1305,7 @@ private static function get_wp_themes_inactive(): array {
13051305
$auto_updates_enabled = wp_is_auto_update_enabled_for_type( 'theme' );
13061306
if ( $auto_updates_enabled ) {
13071307
$auto_updates = (array) get_site_option( 'auto_update_themes', array() );
1308+
$transient = get_site_transient( 'update_themes' );
13081309
}
13091310

13101311
// Populate a list of all themes available in the installation.

0 commit comments

Comments
 (0)