#60217 closed task (blessed) (fixed)
phpUnit test for wp_parse_slug_list
Reported by: | pbearne | Owned by: | swissspidy |
---|---|---|---|
Milestone: | 6.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch has-unit-tests |
Focuses: | Cc: |
Description
Change History (6)
#1
@
8 months ago
- Summary changed from phpUnit test for wp_list_pluck to phpUnit test for wp_parse_slug_list
This ticket was mentioned in PR #5850 on WordPress/wordpress-develop by @pbearne.
8 months ago
#2
- Keywords has-patch has-unit-tests added
#3
@
7 months ago
- Milestone changed from Awaiting Review to 6.5
- Type changed from defect (bug) to task (blessed)
#4
@
7 months ago
- Owner set to swissspidy
- Resolution set to fixed
- Status changed from new to closed
In 57725:
@swissspidy commented on PR #5850:
7 months ago
#5
Note: See
TracTickets for help on using
tickets.
A new phpunit test file is added specifically for testing the 'wp_parse_slug_list' function. Different scenarios are covered including handling of plain numbers, strings with spaces, strings with commas, and HTML. This ensures that the function responds correctly to a wide array of inputs, improving overall software reliability and stability.