Make WordPress Core

Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#29089 closed defect (bug) (duplicate)

Language_Packs_Upgrader::upgrade() doesn't properly handle all errors coming from bulk_upgrade()

Reported by: jdgrimes's profile jdgrimes Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.7
Component: Upgrade/Install Keywords: has-patch
Focuses: Cc:


Language_Packs_Upgrader::upgrade() is basically a wrapper for Language_Packs_Upgrader::bulk_upgrade(). The later usually returns an array, but under certain conditions may return false or a WP_Error. upgrade() assumes that an array is always returned.

Attachments (1)

29089.diff (467 bytes) - added by jdgrimes 9 years ago.

Download all attachments as: .zip

Change History (4)

9 years ago

#1 @jdgrimes
9 years ago

  • Keywords has-patch added

#2 @jdgrimes
8 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #29470, fixed in [29675].

#3 @DrewAPicture
8 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.