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

See #41756

Built from https://develop.svn.wordpress.org/trunk@42875


git-svn-id: http://core.svn.wordpress.org/trunk@42705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn
2018-03-25 18:10:32 +00:00
parent 0895f04705
commit b13e73d05c
33 changed files with 128 additions and 129 deletions

View File

@@ -215,7 +215,7 @@ class WP_oEmbed {
*
* @since 2.9.0
*
* @param array $providers An array of popular oEmbed providers.
* @param array[] $providers An array of arrays containing data about popular oEmbed providers.
*/
$this->providers = apply_filters( 'oembed_providers', $providers );
@@ -446,9 +446,9 @@ class WP_oEmbed {
*
* @since 2.9.0
*
* @param array $format Array of oEmbed link types. Accepts 'application/json+oembed',
* 'text/xml+oembed', and 'application/xml+oembed' (incorrect,
* used by at least Vimeo).
* @param string[] $format Array of oEmbed link types. Accepts 'application/json+oembed',
* 'text/xml+oembed', and 'application/xml+oembed' (incorrect,
* used by at least Vimeo).
*/
$linktypes = apply_filters(
'oembed_linktypes', array(