Docs: Upgrade more parameters in docblocks to used typed array notation.

See #51800, #41756


git-svn-id: https://develop.svn.wordpress.org/trunk@49693 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2020-11-24 21:25:46 +00:00
parent f2c9d2851c
commit c8f7440c6a
18 changed files with 89 additions and 88 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ function get_post_format( $post = null ) {
*
* @since 3.1.0
*
* @param string|array $format Optional. The format or formats to check.
* @param string|string[] $format Optional. The format or formats to check.
* @param WP_Post|int|null $post Optional. The post to check. Defaults to the current post in the loop.
* @return bool True if the post has any of the given formats (or any format, if no format specified),
* false otherwise.