[wp-trac] [WordPress Trac] #58163: Media Tests for Attachments and Images
WordPress Trac
noreply at wordpress.org
Fri Apr 21 01:40:43 UTC 2023
#58163: Media Tests for Attachments and Images
--------------------------------------+------------------------------
Reporter: Howdy_McGee | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: has-unit-tests has-patch | Focuses:
--------------------------------------+------------------------------
Comment (by Howdy_McGee):
@kebbet Thank you for creating a PR and testing the patch!
Looking at the
[https://developer.wordpress.org/reference/functions/get_image_tag/
`get_image_tag()` ] source, it looks like it does return an image tag with
an empty `src` attribute. Whether it ''should'' do that is an entirely
different question.
I've run these tests on PHP 5.6, 7.4, and 8.0 and haven't logged any
issues. Could you share the specific errors that your system is logging
and the PHP version you're using?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58163#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list