Make WordPress Core

Opened 2 weeks ago

Last modified 9 days ago

#65118 reviewing enhancement

Docs: Correct WP_Network_Query params comments

Reported by: baikaresandeep007's profile baikare.sandeep007 Owned by: westonruter's profile westonruter
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)

network-query.patch (1.9 KB) - added by baikare.sandeep007 2 weeks ago.
network query comment documentation improvements

Download all attachments as: .zip

Change History (7)

@baikare.sandeep007
2 weeks ago

network query comment documentation improvements

#1 @baikare.sandeep007
2 weeks ago

  • Version changed from trunk to 4.6

#2 @westonruter
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

#6 @westonruter
9 days ago

  • Owner set to westonruter
  • Status changed from new to reviewing

Queueing up for 7.1

Note: See TracTickets for help on using tickets.