[wp-trac] [WordPress Trac] #29089: Language_Packs_Upgrader::upgrade() doesn't properly handle all errors coming from bulk_upgrade()
WordPress Trac
noreply at wordpress.org
Fri Aug 1 19:56:46 UTC 2014
#29089: Language_Packs_Upgrader::upgrade() doesn't properly handle all errors
coming from bulk_upgrade()
-----------------------------+-----------------------------
Reporter: jdgrimes | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version: 3.7
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
`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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29089>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list