Make WordPress Core


Ignore:
Timestamp:
03/25/2018 06:09:56 PM (8 years ago)
Author:
johnbillion
Message:

Docs: Document more parameters and properties using typed array notation.

See #41756

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-oembed.php

    r42747 r42875  
    216216                 * @since 2.9.0
    217217                 *
    218                  * @param array $providers An array of popular oEmbed providers.
     218                 * @param array[] $providers An array of arrays containing data about popular oEmbed providers.
    219219                 */
    220220                $this->providers = apply_filters( 'oembed_providers', $providers );
     
    447447                         * @since 2.9.0
    448448                         *
    449                          * @param array $format Array of oEmbed link types. Accepts 'application/json+oembed',
    450                          *                      'text/xml+oembed', and 'application/xml+oembed' (incorrect,
    451                          *                      used by at least Vimeo).
     449                         * @param string[] $format Array of oEmbed link types. Accepts 'application/json+oembed',
     450                         *                         'text/xml+oembed', and 'application/xml+oembed' (incorrect,
     451                         *                         used by at least Vimeo).
    452452                         */
    453453                        $linktypes = apply_filters(
Note: See TracChangeset for help on using the changeset viewer.