Make WordPress Core

Changeset 60181


Ignore:
Timestamp:
04/24/2025 12:47:18 PM (11 months ago)
Author:
SergeyBiryukov
Message:

Site Health: Set missing $transient in WP_Debug_Data:get_wp_themes_inactive().

This commit addresses a bug where the update_themes site transient was not defined before being checked in several isset() checks later on in the method.

Follow-up to [59176].

Props justlevine.
See #63268.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-debug-data.php

    r59894 r60181  
    13011301        $parent_theme  = $active_theme->parent();
    13021302        $theme_updates = get_theme_updates();
     1303        $transient     = get_site_transient( 'update_themes' );
    13031304
    13041305        $auto_updates         = array();
Note: See TracChangeset for help on using the changeset viewer.