#60218 closed defect (bug) (fixed)
PHPunit test for wp_parse_id_list
Reported by: | pbearne | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 6.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch has-unit-tests |
Focuses: | Cc: |
Description
Change History (5)
This ticket was mentioned in PR #5851 on WordPress/wordpress-develop by @pbearne.
10 months ago
#1
- Keywords has-patch has-unit-tests added
#4
@
8 months ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from new to closed
In 57737:
@SergeyBiryukov commented on PR #5851:
8 months ago
#5
Thanks for the PR! Merged as part of r57737.
Note: See
TracTickets for help on using
tickets.
A new PHPUnit test file for the 'wp_parse_id_list' function is introduced. It includes various scenarios ranging from plain numbers, strings with spaces, and HTML to strings with commas. This is crucial to guarantee the function's accurate response to a variety of inputs, enhancing software reliability and stability.