Make WordPress Core

Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#29089 closed defect (bug) (duplicate)

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

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

Description

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

Download all attachments as: .zip

Change History (4)

#1 @jdgrimes
12 years ago

  • Keywords has-patch added

#2 @jdgrimes
11 years ago

  • Resolution → duplicate
  • Status new → closed

Duplicate of #29470, fixed in [29675].

#3 @DrewAPicture
11 years ago

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