[wp-trac] [WordPress Trac] #51400: Undefined index during automatic plugin/theme updates
WordPress Trac
noreply at wordpress.org
Thu Oct 15 23:29:31 UTC 2020
#51400: Undefined index during automatic plugin/theme updates
-----------------------------+-----------------------------
Reporter: afragen | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.5.2
Component: Upgrade/Install | Version: 5.5
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
-----------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"49167" 49167]:
{{{
#!CommitTicketReference repository="" revision="49167"
Upgrade/Install: Check if plugin or theme update results are available
before applying the notification filters.
This avoids a PHP notice for an undefined index of either `plugin` or
`theme` in the `auto_{plugin|theme}_update_send_email` filter hook.
Props afragen, audrasjb.
Merges [49166] to the 5.5 branch.
Fixes #51400.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51400#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list