Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#41313 closed defect (bug) (fixed)

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

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


@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 7 years ago.

Download all attachments as: .zip

Change History (4)

7 years ago

#1 @avinapatel
7 years ago

  • Keywords has-patch added

#2 @DrewAPicture
7 years ago

  • Component changed from General to Query
  • Milestone changed from Awaiting Review to 4.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
7 years ago

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

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.