[wp-trac] [WordPress Trac] #50061: Image_meta original_image as valid image_size

WordPress Trac noreply at wordpress.org
Tue Jul 15 14:56:47 UTC 2025


#50061: Image_meta original_image as valid image_size
--------------------------------+-----------------------------
 Reporter:  tomcent             |       Owner:  antpb
     Type:  enhancement         |      Status:  accepted
 Priority:  normal              |   Milestone:  Future Release
Component:  Media               |     Version:  5.3
 Severity:  normal              |  Resolution:
 Keywords:  dev-feedback close  |     Focuses:
--------------------------------+-----------------------------
Changes (by callumbw95):

 * keywords:  dev-feedback => dev-feedback close


Comment:

 Hi All,

 Just taken a look into this, and it looks like when you use the
 `wp_get_attachment_metadata()` function it returns the original image path
 as well as the width and height. As of such I believe this ticket has
 already been resolved elsewhere and can be closed. 😃

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50061#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list