Make WordPress Core


Ignore:
Timestamp:
02/23/2024 09:41:18 AM (8 months ago)
Author:
SergeyBiryukov
Message:

Docs: Add a @since note for $preferred_ext parameter in wp_mime_type_icon().

Follow-up to [57687].

See #31352.

File:
1 edited

Legend:

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

    r57687 r57701  
    68036803 *
    68046804 * @since 2.1.0
     6805 * @since 6.5.0 Added the `$preferred_ext` parameter.
    68056806 *
    68066807 * @param string|int $mime          MIME type or attachment ID.
    6807  * @param string     $preferred_ext File format to prefer in return. Default .png.
     6808 * @param string     $preferred_ext File format to prefer in return. Default '.png'.
    68086809 * @return string|false Icon, false otherwise.
    68096810 */
Note: See TracChangeset for help on using the changeset viewer.