[wp-trac] [WordPress Trac] #16895: wp_list_pluck cannot be used with arrays of references

WordPress Trac noreply at wordpress.org
Thu Jan 18 05:17:25 UTC 2018


#16895: wp_list_pluck cannot be used with arrays of references
----------------------------------------+---------------------
 Reporter:  dd32                        |       Owner:  dd32
     Type:  enhancement                 |      Status:  closed
 Priority:  normal                      |   Milestone:  5.0
Component:  General                     |     Version:  3.1
 Severity:  normal                      |  Resolution:  fixed
 Keywords:  needs-refresh dev-feedback  |     Focuses:
----------------------------------------+---------------------
Changes (by dd32):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"42527"]:
 {{{
 #!CommitTicketReference repository="" revision="42527"
 General: Allow `wp_list_pluck()` to operate on arrays of references
 without overwriting the referenced items.

 Fixes #16895.
 }}}

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


More information about the wp-trac mailing list