mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Docs: Improve docs for arguments that accept a numerically indexed array of associative arrays.
See #49572 Built from https://develop.svn.wordpress.org/trunk@48475 git-svn-id: http://core.svn.wordpress.org/trunk@48244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
acca036e88
commit
5eb3f0ffcb
@ -4775,7 +4775,7 @@ function wp_ajax_wp_privacy_export_personal_data() {
|
||||
* @param array $args {
|
||||
* An array of callable exporters of personal data. Default empty array.
|
||||
*
|
||||
* @type array {
|
||||
* @type array ...$0 {
|
||||
* Array of personal data exporters.
|
||||
*
|
||||
* @type callable $callback Callable exporter function that accepts an
|
||||
@ -4965,7 +4965,7 @@ function wp_ajax_wp_privacy_erase_personal_data() {
|
||||
* @param array $args {
|
||||
* An array of callable erasers of personal data. Default empty array.
|
||||
*
|
||||
* @type array {
|
||||
* @type array ...$0 {
|
||||
* Array of personal data exporters.
|
||||
*
|
||||
* @type callable $callback Callable eraser that accepts an email address and
|
||||
|
@ -157,10 +157,10 @@ class WP_Site_Health {
|
||||
* @since 5.3.0
|
||||
*
|
||||
* @param array $test_result {
|
||||
* An associated array of test result data.
|
||||
* An associative array of test result data.
|
||||
*
|
||||
* @param string $label A label describing the test, and is used as a header in the output.
|
||||
* @param string $status The status of the test, which can be a value of `good`, `recommended` or `critical`.
|
||||
* @param string $label A label describing the test, and is used as a header in the output.
|
||||
* @param string $status The status of the test, which can be a value of `good`, `recommended` or `critical`.
|
||||
* @param array $badge {
|
||||
* Tests are put into categories which have an associated badge shown, these can be modified and assigned here.
|
||||
*
|
||||
|
@ -72,7 +72,7 @@ class WP_Date_Query {
|
||||
* @param array $date_query {
|
||||
* Array of date query clauses.
|
||||
*
|
||||
* @type array {
|
||||
* @type array ...$0 {
|
||||
* @type string $column Optional. The column to query against. If undefined, inherits the value of
|
||||
* the `$default_column` parameter. Accepts 'post_date', 'post_date_gmt',
|
||||
* 'post_modified','post_modified_gmt', 'comment_date', 'comment_date_gmt'.
|
||||
@ -81,7 +81,7 @@ class WP_Date_Query {
|
||||
* 'IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN'. Default '='.
|
||||
* @type string $relation Optional. The boolean relationship between the date queries. Accepts 'OR' or 'AND'.
|
||||
* Default 'OR'.
|
||||
* @type array {
|
||||
* @type array ...$0 {
|
||||
* Optional. An array of first-order clause parameters, or another fully-formed date query.
|
||||
*
|
||||
* @type string|array $before {
|
||||
|
@ -1794,9 +1794,9 @@ final class _WP_Editors {
|
||||
* @see 'wp_link_query_args' filter
|
||||
*
|
||||
* @param array $results {
|
||||
* An associative array of query results.
|
||||
* An array of associative arrays of query results.
|
||||
*
|
||||
* @type array {
|
||||
* @type array ...$0 {
|
||||
* @type int $ID Post ID.
|
||||
* @type string $title The trimmed, escaped post title.
|
||||
* @type string $permalink Post permalink.
|
||||
|
@ -109,7 +109,7 @@ class WP_Meta_Query {
|
||||
*
|
||||
* @type string $relation Optional. The MySQL keyword used to join
|
||||
* the clauses of the query. Accepts 'AND', or 'OR'. Default 'AND'.
|
||||
* @type array {
|
||||
* @type array ...$0 {
|
||||
* Optional. An array of first-order clause parameters, or another fully-formed meta query.
|
||||
*
|
||||
* @type string $key Meta key to filter by.
|
||||
|
@ -96,8 +96,8 @@ class WP_Tax_Query {
|
||||
*
|
||||
* @type string $relation Optional. The MySQL keyword used to join
|
||||
* the clauses of the query. Accepts 'AND', or 'OR'. Default 'AND'.
|
||||
* @type array {
|
||||
* Optional. An array of first-order clause parameters, or another fully-formed tax query.
|
||||
* @type array ...$0 {
|
||||
* An array of first-order clause parameters, or another fully-formed tax query.
|
||||
*
|
||||
* @type string $taxonomy Taxonomy being queried. Optional when field=term_taxonomy_id.
|
||||
* @type string|int|array $terms Term or terms to filter by.
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.5-beta1-48474';
|
||||
$wp_version = '5.5-beta1-48475';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user