[wp-trac] [WordPress Trac] #45299: `wpdb->last_result` may not be countable

WordPress Trac noreply at wordpress.org
Mon Nov 12 21:49:58 UTC 2018


#45299: `wpdb->last_result` may not be countable
-------------------------------+---------------------
 Reporter:  desrosj            |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  5.0
Component:  Query              |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  php73 needs-patch  |     Focuses:
-------------------------------+---------------------

Comment (by spacedmonkey):

 While reviewing this bug, I found a second place, where last_result being
 `null` would be an issue.

 See attached
 [https://core.trac.wordpress.org/attachment/ticket/45299/45299-bug1.diff
 45299-bug1.diff] which is a simple fix. It might have to go in another
 ticket.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45299#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list