#3452 closed defect (bug) (fixed)
xmlrpc uploads do not have attachment metadata.
Reported by: | mdawaffe | Owned by: | mdawaffe |
---|---|---|---|
Milestone: | 2.1 | Priority: | normal |
Severity: | normal | Version: | 2.1 |
Component: | Administration | Keywords: | has-patch 2nd-opinion |
Focuses: | Cc: |
Description
Files uploaded through xmlrpc don't show up all pretty like in the upload viewer.
Attached:
- Moves wp_create_thumbnail() to functions.php
- new function wp_generate_thumbnail_metadata()
- Uses that new function.
This has the side effect of creating thumbnails for all xmlrpc uploaded images.
Marking milestone as 2.1. Thoughts?
Attachments (1)
Change History (7)
Note: See
TracTickets for help on using
tickets.
From a quick review this looks nice.
Could we consider adding a filter to wp_create_thumbnail on the new sizes we have computed passing enough data to allow a plugin to change the sizes before we create the thumbnail?