WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#41045 closed defect (bug) (fixed)

Add @since and @access tags to class WP_Query functions

Reported by: dixitadusara Owned by: DrewAPicture
Milestone: 4.9 Priority: normal
Severity: normal Version:
Component: Query Keywords: has-patch
Focuses: docs Cc:
PR Number:

Description

The @since and @access tags are missing for parse_search_order() protected function

Attachments (2)

41045.patch (448 bytes) - added by dixitadusara 2 years ago.
41045-2.patch (517 bytes) - added by dixitadusara 2 years ago.
Also add global tag for $wpdb

Download all attachments as: .zip

Change History (7)

@dixitadusara
2 years ago

#1 @dixitadusara
2 years ago

  • Keywords has-patch added

@dixitadusara
2 years ago

Also add global tag for $wpdb

This ticket was mentioned in Slack in #core by dixita. View the logs.


2 years ago

This ticket was mentioned in Slack in #core by dixita. View the logs.


2 years ago

#4 @DrewAPicture
2 years ago

  • Component changed from General to Query
  • Focuses docs added
  • Milestone changed from Awaiting Review to 4.9

Hi @dixitadusara, welcome to Trac! The patch looks good, thanks for submitting it :-)

#5 @DrewAPicture
2 years ago

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

In 40972:

Docs: Add missing @since, @access, and @global notations to the DocBlock for WP_Query::parse_search_order().

Props dixitadusara.
Fixes #41045.

Note: See TracTickets for help on using tickets.