[wp-trac] [WordPress Trac] #49852: Use feature image of video attachment as preview instead of icon
WordPress Trac
noreply at wordpress.org
Tue Sep 20 15:12:06 UTC 2022
#49852: Use feature image of video attachment as preview instead of icon
-------------------------------------------------+-------------------------
Reporter: spacedmonkey | Owner:
| spacedmonkey
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future
| Release
Component: Media | Version:
Severity: normal | Resolution:
Keywords: good-first-bug has-patch has- | Focuses:
screenshots changes-requested |
-------------------------------------------------+-------------------------
Comment (by cadic):
@spacedmonkey thank you for the suggestion. I just curious, isn't it a
potential performance issue? Using `wp_attachment_is()` twice inside a
loop on the `$post` object which was already processed during upload and
have assigned `post_mime_type` attribute?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49852#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list