#9255 closed defect (bug) (duplicate)
Media manager selects wrong image size
Reported by: | gmpfree | Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Severity: | minor | Version: | 2.7 |
Component: | Media | Keywords: | needs-patch |
Focuses: | Cc: |
Description
symptom:
full-size image is selected in place of medium size by default.
steps to reproduce:
- upload an image of size between "medium" & "large" value.
- check wp-settings-1 cookie is NOT set, as /wp-includes/js/swfupload/handlers.js attempts to "cache" last values for alignment & size, hiding the problem from user.
- now in item-list the full-size image should be selected instead of the medium.
viewing the source reveal both "medium" and "large" are checked, firefox 3 opts to render latter radio-box checked.
I believe the problem originates from
/wp-admin/includes/media.php
where function image_size_input_fields set $checked first to "medium" then to "full", in above case.
Change History (5)
Note: See
TracTickets for help on using
tickets.
Pushing due to schedule. Can evaluate in next release cycle.