[wp-trac] [WordPress Trac] #22693: Inserted images in some cases get the wrong size
WordPress Trac
noreply at wordpress.org
Tue Dec 4 11:49:24 UTC 2012
#22693: Inserted images in some cases get the wrong size
------------------------------+---------------------
Reporter: jond3r | Owner: nacin
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.5
Component: Media | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch commit |
------------------------------+---------------------
Comment (by cdog):
Replying to [comment:4 nacin]:
> I don't think that's how dropdowns work. This isn't a multiple-selection
dropdown.
However, selecting an option then another will add the 'selected'
attribute to each of it.
{{{
<select>
<option selected="selected" value="thumbnail">
Thumbnail
</option>
<option selected="selected" value="medium">
Medium
</option>
<option value="large">
Large
</option>
<option selected="selected" value="full">
Full Size
</option>
</select>
}}}
Then $setting.find('[selected]').val() is used. It will return more than
just one result.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22693#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list