Make WordPress Core

Opened 2 months ago

Closed 2 months ago

#61649 closed defect (bug) (fixed)

debug_data() $parent_theme_auto_update_string with wrong data source

Reported by: apermo's profile apermo Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 6.7 Priority: normal
Severity: normal Version: 6.6
Component: Site Health Keywords: has-patch
Focuses: Cc:

Description

https://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/class-wp-debug-data.php#L1302

The value for $parent_theme_auto_update_string effectively comes from $auto_updates_string and the actual value, being set in lines 1287-1299 is never used.

See attached patch.

Attachments (1)

parent_theme_auto_update_string.patch (949 bytes) - added by apermo 2 months ago.

Download all attachments as: .zip

Change History (3)

#1 @SergeyBiryukov
2 months ago

  • Milestone changed from Awaiting Review to 6.7
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#2 @SergeyBiryukov
2 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 58716:

Site Health: Correctly display auto-update status for parent theme.

Follow-up to [47835], [48731].

Props apermo.
Fixes #61649. See #61648.

Note: See TracTickets for help on using tickets.