mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 09:07:59 +01:00
Taxonomy: Remove count references from WP_Term_Query
.
Remove further documentation and a code reference to the unsupported `count` argument within `WP_Term_Query`. Follow up to [59261]. Props johnbillion. Fixes #61094 Built from https://develop.svn.wordpress.org/trunk@59325 git-svn-id: http://core.svn.wordpress.org/trunk@58711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7b9673722e
commit
844fe5cf06
@ -206,7 +206,6 @@ class WP_Term_Query {
|
||||
'number' => '',
|
||||
'offset' => '',
|
||||
'fields' => 'all',
|
||||
'count' => false,
|
||||
'name' => '',
|
||||
'slug' => '',
|
||||
'term_taxonomy_id' => '',
|
||||
@ -302,7 +301,7 @@ class WP_Term_Query {
|
||||
*
|
||||
* @param string|array $query Array or URL query string of parameters.
|
||||
* @return WP_Term[]|int[]|string[]|string Array of terms, or number of terms as numeric string
|
||||
* when 'count' is passed as a query var.
|
||||
* when 'count' is passed to `$args['fields']`.
|
||||
*/
|
||||
public function query( $query ) {
|
||||
$this->query_vars = wp_parse_args( $query );
|
||||
@ -344,7 +343,7 @@ class WP_Term_Query {
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @return WP_Term[]|int[]|string[]|string Array of terms, or number of terms as numeric string
|
||||
* when 'count' is passed as a query var.
|
||||
* when 'count' is passed to `$args['fields']`.
|
||||
*/
|
||||
public function get_terms() {
|
||||
global $wpdb;
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.8-alpha-59319';
|
||||
$wp_version = '6.8-alpha-59325';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user