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
This commit is contained in:
parent
868f642cc1
commit
64bb76d122
wp-includes
|
@ -294,12 +294,12 @@ class WP_Term_Query {
|
||||||
/**
|
/**
|
||||||
* Get terms, based on query_vars.
|
* Get terms, based on query_vars.
|
||||||
*
|
*
|
||||||
* @param 4.6.0
|
* @since 4.6.0
|
||||||
* @access public
|
* @access public
|
||||||
*
|
*
|
||||||
* @global wpdb $wpdb WordPress database abstraction object.
|
* @global wpdb $wpdb WordPress database abstraction object.
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array List of terms.
|
||||||
*/
|
*/
|
||||||
public function get_terms() {
|
public function get_terms() {
|
||||||
global $wpdb;
|
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.
|
* Generate the ORDER BY clause for an 'orderby' param that is potentially related to a meta query.
|
||||||
*
|
*
|
||||||
* @since 4.6.0
|
* @since 4.6.0
|
||||||
* @access public
|
* @access protected
|
||||||
*
|
*
|
||||||
* @param string $orderby_raw Raw 'orderby' value passed to WP_Term_Query.
|
* @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 ) {
|
protected function parse_orderby_meta( $orderby_raw ) {
|
||||||
$orderby = '';
|
$orderby = '';
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue