wp_get_attachment_metadata not grabbing some metadata
|Reported by:||danielpataki||Owned by:|
I have been using and developing with Wordpress for years, but this is my first bug report, so if I am wrong, or do not use proper etiquette, please let me know!
I created a function to retrieve some of the uploaded images, and I wanted to use wp_get_attachment_metadata to grab some of the attachements metadata.
When I uploaded the images I added titles and descriptions and captions and whatnot, but I can't seem to retrieve them with this function.
If I try the following:
$meta = wp_get_attachment_metadata( $att->ID, true);
I may be wrong because this array has exif data as well, so this variable may hold caption data from exif data, and not from wp_posts->post_excerpt?
In any case, this function does not return any of the image data I entered, while based on the name of the function I'm sure it could be expected.
Please see the attached images for the entered image metadata and the printed array on the page
I hope this really is a bug, if not, please excuse me for wasting your time.