mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Docs: Miscellaneous inline documentation improvements.
See #55646 git-svn-id: https://develop.svn.wordpress.org/trunk@53878 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3217,14 +3217,14 @@ function get_post_mime_types() {
|
||||
/**
|
||||
* Checks a MIME-Type against a list.
|
||||
*
|
||||
* If the wildcard_mime_types parameter is a string, it must be comma separated
|
||||
* list. If the real_mime_types is a string, it is also comma separated to
|
||||
* If the `$wildcard_mime_types` parameter is a string, it must be comma separated
|
||||
* list. If the `$real_mime_types` is a string, it is also comma separated to
|
||||
* create the list.
|
||||
*
|
||||
* @since 2.5.0
|
||||
*
|
||||
* @param string|string[] $wildcard_mime_types Mime types, e.g. audio/mpeg or image (same as image/*)
|
||||
* or flash (same as *flash*).
|
||||
* @param string|string[] $wildcard_mime_types Mime types, e.g. `audio/mpeg`, `image` (same as `image/*`),
|
||||
* or `flash` (same as `*flash*`).
|
||||
* @param string|string[] $real_mime_types Real post mime type values.
|
||||
* @return array array(wildcard=>array(real types)).
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user