Files
wordpress-develop/src/wp-includes/post.php
Joe Dolson 15cbfd58e8 Media: Fix inaccurate docs for wp_attachment_is().
Correct the documentation for the `$type` parameter to accept file extensions as well as attachment type groups. Also fix the return description to reflect the change.

Props nirav7707, joedolson.
Fixes #59698.

git-svn-id: https://develop.svn.wordpress.org/trunk@57273 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-12 16:47:03 +00:00

272 KiB