Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#41045 closed defect (bug) (fixed)

Add @since and @access tags to class WP_Query functions

Reported by: dixitadusara's profile dixitadusara Owned by: drewapicture's profile DrewAPicture
Milestone: 4.9 Priority: normal
Severity: normal Version:
Component: Query Keywords: has-patch
Focuses: docs Cc:

Description

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

Attachments (2)

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

Download all attachments as: .zip

Change History (7)

@dixitadusara
8 years ago

#1 @dixitadusara
8 years ago

  • Keywords has-patch added

@dixitadusara
8 years ago

Also add global tag for $wpdb

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


8 years ago

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


8 years ago

#4 @DrewAPicture
8 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
8 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.