[wp-trac] [WordPress Trac] #53987: add tests for wp_list_filter

WordPress Trac noreply at wordpress.org
Thu Aug 26 16:56:02 UTC 2021


#53987: add tests for wp_list_filter
--------------------------------------+---------------------
 Reporter:  pbearne                   |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  5.9
Component:  Build/Test Tools          |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by SergeyBiryukov):

 What's left here:
 * See if `wp_list_pluck()` tests can be simplified further. Some use older
 fixtures and some use a data provider, so we could review the older
 fixtures and move them to the data provider too if it does not cover those
 cases yet.
 * See if any additional tests for `wp_list_filter()` are necessary and not
 already covered by the data provider.

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


More information about the wp-trac mailing list