Changeset 48986
- Timestamp:
- 09/17/2020 11:08:04 AM (4 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-comment-query.php
r48985 r48986 387 387 * Return a non-null value to bypass WordPress' default comment queries. 388 388 * 389 * The expected return type from this filter depends on the value passed in the request query_vars. 390 * When `$this->query_vars['count']` is set, the filter should return the comment count as an int. 391 * When `'ids' === $this->query_vars['fields']`, the filter should return an array of comment IDs. 392 * Otherwise the filter should return an array of WP_Comment objects. 389 * The expected return type from this filter depends on the value passed 390 * in the request query vars: 391 * - When `$this->query_vars['count']` is set, the filter should return 392 * the comment count as an integer. 393 * - When `'ids' === $this->query_vars['fields']`, the filter should return 394 * an array of comment IDs. 395 * - Otherwise the filter should return an array of WP_Comment objects. 393 396 * 394 397 * @since 5.3.0 -
trunk/src/wp-includes/class-wp-network-query.php
r48985 r48986 205 205 * Return a non-null value to bypass WordPress' default network queries. 206 206 * 207 * The expected return type from this filter depends on the value passed in the request query_vars. 208 * When `$this->query_vars['count']` is set, the filter should return the network count as an int. 209 * When `'ids' === $this->query_vars['fields']`, the filter should return an array of network IDs. 210 * Otherwise the filter should return an array of WP_Network objects. 207 * The expected return type from this filter depends on the value passed 208 * in the request query vars: 209 * - When `$this->query_vars['count']` is set, the filter should return 210 * the network count as an integer. 211 * - When `'ids' === $this->query_vars['fields']`, the filter should return 212 * an array of network IDs. 213 * - Otherwise the filter should return an array of WP_Network objects. 211 214 * 212 215 * @since 5.2.0 -
trunk/src/wp-includes/class-wp-site-query.php
r48985 r48986 296 296 * Return a non-null value to bypass WordPress' default site queries. 297 297 * 298 * The expected return type from this filter depends on the value passed in the request query_vars: 299 * When `$this->query_vars['count']` is set, the filter should return the site count as an int. 300 * When `'ids' === $this->query_vars['fields']`, the filter should return an array of site IDs. 301 * Otherwise the filter should return an array of WP_Site objects. 298 * The expected return type from this filter depends on the value passed 299 * in the request query vars: 300 * - When `$this->query_vars['count']` is set, the filter should return 301 * the site count as an integer. 302 * - When `'ids' === $this->query_vars['fields']`, the filter should return 303 * an array of site IDs. 304 * - Otherwise the filter should return an array of WP_Site objects. 302 305 * 303 306 * @since 5.2.0
Note: See TracChangeset
for help on using the changeset viewer.