Opened 15 years ago
Closed 15 years ago
#11021 closed defect (bug) (fixed)
Multiple Size Options Selected by Default
Reported by: | miqrogroove | Owned by: | |
---|---|---|---|
Milestone: | 2.9 | Priority: | normal |
Severity: | normal | Version: | 2.7 |
Component: | Media | Keywords: | has-patch |
Focuses: | Cc: |
Description
After upgrading from v2.7 to v2.8.4, when inserting images into posts the default size option is BOTH Medium and Full. Two radio options are selected.
Setting severity Normal as this bug doesn't cause any huge headaches for me yet.
Attachments (2)
Change History (11)
#2
@
15 years ago
Yep, I hope that helps. I can only reproduce on that one screen where I upload images in a new or draft post. If I go to the Gallery or Media Library tabs it doesn't do that to me.
#3
@
15 years ago
- Keywords reporter-feedback removed
That's really weird. Maybe it's caused by a plugin?
#4
@
15 years ago
Not sure if it's relevant, but I have in the current theme:
$GLOBALS['content_width'] = 800;
#5
@
15 years ago
Rather than a plugin, I would suspect it's to do with this nonsense in wp-admin/includes/media.php
if ( $checked && !$enabled ) $checked = ''; // if $checked was not specified, default to the first available size that's bigger than a thumbnail if ( !$checked && $enabled && 'thumbnail' != $size ) $checked = $size;
The $checked value is being cleared when Full size is not available, thus WP is indeed instructing the browser to check multiple sizes.
Could you provide a screenshot?