[wp-trac] [WordPress Trac] #60480: preg_match() warning in wp_image_add_srcset_and_sizes() when image_meta['file'] is missing
WordPress Trac
noreply at wordpress.org
Fri Aug 8 10:03:19 UTC 2025
#60480: preg_match() warning in wp_image_add_srcset_and_sizes() when
image_meta['file'] is missing
--------------------------+------------------------------
Reporter: shanemac10 | Owner: (none)
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Import | Version: 6.4.3
Severity: major | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Comment (by leedxw):
Is there any movement on this ticket?
We've got plenty of examples where the preview image for a PDF has been
added to a public page and `class="wp-image-` appears? Is this a bug?
Is it a bug that uploaded pdfs don't have a `file` property?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60480#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list