From 64bb76d12201ca274ea9b53c1d79d730d48ecd89 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 4 Jan 2017 13:39:43 +0000 Subject: [PATCH] Docs: Correct `@since` and `@access` tags for `WP_Term_Query::get_terms()` and `WP_Term_Query::parse_orderby_meta()`. Props keesiemeijer. Fixes #39467. Built from https://develop.svn.wordpress.org/trunk@39675 git-svn-id: http://core.svn.wordpress.org/trunk@39615 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-term-query.php | 8 ++++---- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-includes/class-wp-term-query.php b/wp-includes/class-wp-term-query.php index c2915402a9..2705251180 100644 --- a/wp-includes/class-wp-term-query.php +++ b/wp-includes/class-wp-term-query.php @@ -294,12 +294,12 @@ class WP_Term_Query { /** * Get terms, based on query_vars. * - * @param 4.6.0 + * @since 4.6.0 * @access public * * @global wpdb $wpdb WordPress database abstraction object. * - * @return array + * @return array List of terms. */ public function get_terms() { global $wpdb; @@ -870,10 +870,10 @@ class WP_Term_Query { * Generate the ORDER BY clause for an 'orderby' param that is potentially related to a meta query. * * @since 4.6.0 - * @access public + * @access protected * * @param string $orderby_raw Raw 'orderby' value passed to WP_Term_Query. - * @return string + * @return string ORDER BY clause. */ protected function parse_orderby_meta( $orderby_raw ) { $orderby = ''; diff --git a/wp-includes/version.php b/wp-includes/version.php index d3fd44d547..b34f102f8f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-39674'; +$wp_version = '4.8-alpha-39675'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.