Docs: Correct `@since` and `@access` tags for `WP_Term_Query::get_terms()` and `WP_Term_Query::parse_orderby_meta()`.
Props keesiemeijer. Fixes #39467. git-svn-id: https://develop.svn.wordpress.org/trunk@39675 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9369e432a5
commit
e2e43dade9
|
@ -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 = '';
|
||||||
|
|
Loading…
Reference in New Issue