[wp-trac] [WordPress Trac] #29470: Language Pack Upgrader can produce a fatal error
WordPress Trac
noreply at wordpress.org
Tue Sep 2 18:27:14 UTC 2014
#29470: Language Pack Upgrader can produce a fatal error
-------------------------------------------+----------------------
Reporter: ocean90 | Owner: ocean90
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.0
Component: Upgrade/Install | Version: 3.7
Severity: normal | Resolution: fixed
Keywords: has-patch commit dev-reviewed | Focuses:
-------------------------------------------+----------------------
Changes (by ocean90):
* owner: => ocean90
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"29675"]:
{{{
#!CommitTicketReference repository="" revision="29675"
Language Pack Upgrader: Check return value before accessing the first
array key.
Prevents a fatal error when Language_Pack_Upgrader::bulk_upgrade() returns
a WP_Error object.
fixes #29470.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29470#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list