[wp-trac] [WordPress Trac] #35087: Make sure $list in wp_list_pluck() is an array

WordPress Trac noreply at wordpress.org
Tue Dec 15 19:49:45 UTC 2015


#35087: Make sure $list in wp_list_pluck() is an array
--------------------------+------------------------------
 Reporter:  josephscott   |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by ocean90):

 In [changeset:"35950"]:
 {{{
 #!CommitTicketReference repository="" revision="35950"
 Revert [35949].

 Passing an object to `wp_list_pluck()` throws also a fatal error, see
 https://3v4l.org/9YsaD.

 See #35087.
 }}}

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


More information about the wp-trac mailing list