WordPress.org

Make WordPress Core

Opened 3 months ago

Closed 3 months ago

Last modified 3 months ago

#39467 closed defect (bug) (fixed)

Improve DocBlocks in class WP_Term_Query

Reported by: keesiemeijer Owned by: SergeyBiryukov
Milestone: 4.8 Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords: has-patch
Focuses: docs Cc:

Description

The @param tag in the method get_terms() should be a @since tag.
The @access tag for the parse_orderby_meta() method is set to public, where it should be protected.

Attachments (1)

39467.patch (953 bytes) - added by keesiemeijer 3 months ago.
Improve DocBlocks

Download all attachments as: .zip

Change History (5)

@keesiemeijer
3 months ago

Improve DocBlocks

#1 @keesiemeijer
3 months ago

  • Keywords has-patch added

#2 @SergeyBiryukov
3 months ago

  • Milestone changed from Awaiting Review to 4.8

#3 @SergeyBiryukov
3 months ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 39675:

Docs: Correct @since and @access tags for WP_Term_Query::get_terms() and WP_Term_Query::parse_orderby_meta().

Props keesiemeijer.
Fixes #39467.

#4 @SergeyBiryukov
3 months ago

  • Component changed from General to Taxonomy
Note: See TracTickets for help on using tickets.