#64713 closed defect (bug) (fixed)
Add missing space and remove duplicate operator values in WP_Date_Query PHPDoc.
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 7.0 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | General | Keywords: | has-patch commit |
| Focuses: | docs | Cc: |
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.
In 61723: