[wp-trac] [WordPress Trac] #57136: wp_list_pluck's key argument not working correctly when its zero

WordPress Trac noreply at wordpress.org
Fri Nov 18 19:49:49 UTC 2022


#57136: wp_list_pluck's key argument not working correctly when its zero
--------------------------+------------------------------
 Reporter:  dgwatkins     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by afragen):

 I said _related_ as the other ticket also deals with arguments to
 `wp_list_pluck()`. The other ticket goes about solving this issue a bit
 differently and also includes tests.

 If you could test the PR for the ticket and see if it also fixes your
 issue that would be great. If it does, I would recommend closing this
 ticket as a duplicate.

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


More information about the wp-trac mailing list