#64713 closed defect (bug) (fixed)
Add missing space and remove duplicate operator values in WP_Date_Query PHPDoc.
| Reported by: | truptikanzariya | Owned by: | audrasjb |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.0 |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | docs |
Description
In src/wp-includes/class-wp-date-query.php, the WP_Date_Query PHPDoc contains minor documentation issues:
A missing space after a period in the parameter description.
Current text:
@type string $month Optional when passing array.The month of the year. @type string $day Optional when passing array.The day of the month.
Duplicate mention of comparison operator values:
Current text:
Optional. The comparison operator. Accepts '=', '!=', '>', '>=', '<', '<=', 'IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN'. 'IN', 'NOT IN', 'BETWEEN', and 'NOT BETWEEN'. Comparisons support arrays in some time-related parameters. Default '='.
Proposed fix:
- Ensure proper spacing after periods.
- Remove the duplicated operator list.
This improves documentation clarity and consistency.
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 61723: