Opened 2 weeks ago
Last modified 9 days ago
#65118 reviewing enhancement
Docs: Correct WP_Network_Query params comments
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 7.1 | Priority: | normal |
| Severity: | normal | Version: | 4.6 |
| Component: | Networks and Sites | Keywords: | has-patch |
| Focuses: | docs, administration, multisite | Cc: |
Description
This patch improves the inline documentation for the WP_Network_Query class:
- Clarifies and corrects PHPDoc blocks for class properties, specifying types and expected values.
- Updates the constructor’s parameter documentation to reference the accepted arguments and their types.
- Improves descriptions for complex array properties and return values, especially for query variables and results.
- Enhances code readability and assists developers and IDEs with more accurate type information.
These changes are documentation-only and do not affect runtime behavior.
Attachments (1)
Change History (7)
#2
@
12 days ago
- Milestone changed from Awaiting Review to 7.1
@baikaresandeep007 Thanks for the ticket. Would you please submit the patch as a pull request instead? This will facilitate review.
This ticket was mentioned in PR #11663 on WordPress/wordpress-develop by @baikare.sandeep007.
12 days ago
#3
Trac ticket: https://core.trac.wordpress.org/ticket/65118
## Use of AI Tools
@baikare.sandeep007 commented on PR #11663:
12 days ago
#4
Thanks @westonruter, created PR as requested.
@baikare.sandeep007 commented on PR #11663:
10 days ago
#5
@westonruter accepted suggestions. Thanks
Note: See
TracTickets for help on using
tickets.
network query comment documentation improvements