Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#41313 closed defect (bug) (fixed)

@access and @global tags are missing in the function parse_search().

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

Description

@global and @access tags are missing in the documentation of the protected function parse_search().
global $wpdb is used in parse_orderby() function but it is not mentioned in the documentation of the function.

Attachments (1)

41313.patch (763 bytes ) - added by avinapatel 9 years ago.

Download all attachments as: .zip

Change History (4)

@avinapatel
9 years ago

#1 @avinapatel
9 years ago

  • Keywords has-patch added

#2 @DrewAPicture
9 years ago

  • Component GeneralQuery
  • Milestone Awaiting Review4.9

Hi @avinapatel, thanks for the patch!

For future reference: it would be helpful if you could generate patches from the WordPress root.

#3 @DrewAPicture
9 years ago

  • Owner set to DrewAPicture
  • Resolutionfixed
  • Status newclosed

In 41041:

Docs: Document usage of the $wpdb global in WP_Query::parse_search() and WP_Query::parse_orderby().

Props avinapatel.
Fixes #41313.

Note: See TracTickets for help on using tickets.