Make WordPress Core


Ignore:
Timestamp:
08/11/2022 02:09:04 PM (2 years ago)
Author:
johnbillion
Message:

Docs: Miscellaneous inline documentation improvements.

See #55646

File:
1 edited

Legend:

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

    r53877 r53878  
    32183218 * Checks a MIME-Type against a list.
    32193219 *
    3220  * If the wildcard_mime_types parameter is a string, it must be comma separated
    3221  * list. If the real_mime_types is a string, it is also comma separated to
     3220 * If the `$wildcard_mime_types` parameter is a string, it must be comma separated
     3221 * list. If the `$real_mime_types` is a string, it is also comma separated to
    32223222 * create the list.
    32233223 *
    32243224 * @since 2.5.0
    32253225 *
    3226  * @param string|string[] $wildcard_mime_types Mime types, e.g. audio/mpeg or image (same as image/*)
    3227  *                                             or flash (same as *flash*).
     3226 * @param string|string[] $wildcard_mime_types Mime types, e.g. `audio/mpeg`, `image` (same as `image/*`),
     3227 *                                             or `flash` (same as `*flash*`).
    32283228 * @param string|string[] $real_mime_types     Real post mime type values.
    32293229 * @return array array(wildcard=>array(real types)).
Note: See TracChangeset for help on using the changeset viewer.