Opened 16 years ago
Closed 16 years ago
#8160 closed defect (bug) (fixed)
Need to strip non-numeric chars from max width/height fields in Settings -> Media
Reported by: | designsimply | Owned by: | |
---|---|---|---|
Milestone: | 2.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
Need to strip non-numeric chars from max width/height fields in Settings -> Media (wp-admin/options-media.php previously wp-admin/options-misc.php <2.7). Quotes should not be allowed in those fields. Also, please add a note to the page stating that dimensions should be in pixels (not inches).
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [9661]) Cast image sizes to ints. Explain that sizes are in pixels. fixes #8160