wordpress-develop/tests/phpunit/tests/admin
Sergey Biryukov c8b5610b91 Taxonomy: Make sure wp_terms_checklist() and Walker_Category_Checklist::start_el() properly handle an array of strings as selected_cats or popular_cats values.
Even with these values documented as an array of integers, they can technically also accept an array of strings, e.g. as form results.

Add a unit test.

Props brianhogg, TimothyBlynJacobs, SergeyBiryukov.
Fixes #51137.

git-svn-id: https://develop.svn.wordpress.org/trunk@48880 602fd350-edb4-49c9-b593-d223f7449a82
2020-08-27 02:46:22 +00:00
..
includesComment.php Code is Poetry. 2017-11-30 23:09:33 +00:00
includesCommunityEvents.php Docs: Further corrections and improvements to various inline docblocks. 2020-07-23 07:37:57 +00:00
includesFile.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
includesListTable.php Comments: Don't show the filter/pagination actions if there are no comments to list. 2020-07-21 00:27:46 +00:00
includesMisc.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
includesPlugin.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
includesPost.php Blocks: Add context fields to WP_Block_Type 2020-06-22 10:24:42 +00:00
includesSchema.php Docs: Small inline documentation corrections following [48121]. 2020-06-22 19:07:57 +00:00
includesScreen.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
includesTemplate.php Taxonomy: Make sure wp_terms_checklist() and Walker_Category_Checklist::start_el() properly handle an array of strings as selected_cats or popular_cats values. 2020-08-27 02:46:22 +00:00
includesTheme.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
includesUpdateCore.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
wpPrivacyRequestsTable.php Tests: Clean up some existing @covers tags. 2020-08-25 00:57:17 +00:00