[wp-trac] [WordPress Trac] #21533: Error suppression in wp-db is lame: Part 2

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 10 00:01:42 UTC 2012


#21533: Error suppression in wp-db is lame: Part 2
------------------------------+-----------------------------
 Reporter:  Viper007Bond      |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Warnings/Notices  |    Version:  3.4.1
 Severity:  normal            |   Keywords:  has-patch
------------------------------+-----------------------------
 Previously: #15402

 This was fixed in [16321] however that was built upon [16320] and both
 were reverted in [16336] because it "Breaks things". What things it breaks
 I have no idea though (bad westi for not using a better commit message
 ;)). However I assume it was [16320] that broke things and not [16321].

 [16321] seems perfectly valid to me and we should re-apply it along with a
 fix to `__get()` that throws a warning when `$result` isn't set yet.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21533>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list