[wp-trac] [WordPress Trac] #34172: wp_list_pluck missing checks
WordPress Trac
noreply at wordpress.org
Tue Oct 6 18:37:34 UTC 2015
#34172: wp_list_pluck missing checks
--------------------------+------------------------------
Reporter: wpsmith | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: close | Focuses: performance
--------------------------+------------------------------
Changes (by boonebgorges):
* keywords: => close
Comment:
I think this might be a case where `isset()` checks will paper over
developer error. The PHP notices are a sign to the developer that
something has gone wrong. Silently skipping items in the array seems like
a bad idea to me.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34172#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list