Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#61649 closed defect (bug) (fixed)

debug_data() $parent_theme_auto_update_string with wrong data source

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

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 years ago.

Download all attachments as: .zip

Change History (3)

#1 @SergeyBiryukov
2 years ago

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

#2 @SergeyBiryukov
2 years ago

  • Resolution → fixed
  • Status reviewing → 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.