[wp-trac] [WordPress Trac] #50852: Site Health applies auto_update_theme filter incorrectly

WordPress Trac noreply at wordpress.org
Fri Aug 7 13:50:02 UTC 2020


#50852: Site Health applies auto_update_theme filter incorrectly
-------------------------------------------+-----------------------------
 Reporter:  bpayton                        |       Owner:  SergeyBiryukov
     Type:  defect (bug)                   |      Status:  closed
 Priority:  normal                         |   Milestone:  5.5
Component:  Site Health                    |     Version:  trunk
 Severity:  normal                         |  Resolution:  fixed
 Keywords:  has-patch commit dev-reviewed  |     Focuses:
-------------------------------------------+-----------------------------
Changes (by desrosj):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48747" 48747]:
 {{{
 #!CommitTicketReference repository="" revision="48747"
 Site Health: Consistently pass an object to the `auto_update_{$type}`
 filter in Site Health debug data.

 Previously, some instances of the filter received an array from a plugin
 or theme update response, potentially triggering PHP notices.

 Merges [48745] to the 5.5 branch.
 Reviewed by desrosj, SergeyBiryukov.
 Props bpayton, pbiron.
 Fixes #50852.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50852#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list