[wp-trac] [WordPress Trac] #10607: return variable $new_array in wp-includes/wp-db.php is not initialized
WordPress Trac
wp-trac at lists.automattic.com
Fri Mar 12 00:31:04 UTC 2010
#10607: return variable $new_array in wp-includes/wp-db.php is not initialized
-------------------------------+--------------------------------------------
Reporter: UnderWordPressure | Owner: westi
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.0
Component: Warnings/Notices | Version: 2.8.3
Severity: normal | Resolution:
Keywords: dev-feedback |
-------------------------------+--------------------------------------------
Changes (by nacin):
* keywords: needs-patch => dev-feedback
Comment:
During the dev chat today, it was brought up that is_null($result) could
pose a problem for plugins as a result of [13671].
Checking for is_array() or !is_array() for whether there are or are not
results is a similar situation. I made one fix in [13681].
While I doubt we do this elsewhere in core, I wanted to re-open for
discussion, as this could definitely break some plugins and I'm not sure
there's a good solution;.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10607#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list