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

Follow-up to [57687].

See #31352.
Built from https://develop.svn.wordpress.org/trunk@57701


git-svn-id: http://core.svn.wordpress.org/trunk@57202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2024-02-23 09:43:12 +00:00
parent 4084114eab
commit 096df041b6
2 changed files with 3 additions and 2 deletions

View File

@ -6802,9 +6802,10 @@ function wp_attachment_is_image( $post = null ) {
* Retrieves the icon for a MIME type or attachment.
*
* @since 2.1.0
* @since 6.5.0 Added the `$preferred_ext` parameter.
*
* @param string|int $mime MIME type or attachment ID.
* @param string $preferred_ext File format to prefer in return. Default .png.
* @param string $preferred_ext File format to prefer in return. Default '.png'.
* @return string|false Icon, false otherwise.
*/
function wp_mime_type_icon( $mime = 0, $preferred_ext = '.png' ) {

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.5-beta2-57700';
$wp_version = '6.5-beta2-57701';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.