Make WordPress Core


Ignore:
Timestamp:
07/14/2020 12:08:28 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Improve docs for arguments that accept a numerically indexed array of associative arrays.

See #49572

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-site-health.php

    r48473 r48475  
    158158         *
    159159         * @param array $test_result {
    160          *     An associated array of test result data.
     160         *     An associative array of test result data.
    161161         *
    162          *     @param string $label  A label describing the test, and is used as a header in the output.
    163          *     @param string $status The status of the test, which can be a value of `good`, `recommended` or `critical`.
     162         *     @param string $label       A label describing the test, and is used as a header in the output.
     163         *     @param string $status      The status of the test, which can be a value of `good`, `recommended` or `critical`.
    164164         *     @param array  $badge {
    165165         *         Tests are put into categories which have an associated badge shown, these can be modified and assigned here.
Note: See TracChangeset for help on using the changeset viewer.