From d9ae7f920d95d0602cc618e8a5fb8084d1ac5262 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 30 Jun 2017 16:07:05 +0000 Subject: [PATCH] Docs: Add missing `@since`, `@access`, and `@global` notations to the DocBlock for `WP_Query::parse_search_order()`. Props dixitadusara. Fixes #41045. git-svn-id: https://develop.svn.wordpress.org/trunk@40972 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-query.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/class-wp-query.php b/src/wp-includes/class-wp-query.php index 6b634d2cb0..169bb2e388 100644 --- a/src/wp-includes/class-wp-query.php +++ b/src/wp-includes/class-wp-query.php @@ -1441,7 +1441,12 @@ class WP_Query { } /** - * Generate SQL for the ORDER BY condition based on passed search terms. + * Generates SQL for the ORDER BY condition based on passed search terms. + * + * @since 3.7.0 + * @access protected + * + * @global wpdb $wpdb WordPress database abstraction object. * * @param array $q Query variables. * @return string ORDER BY clause.