WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 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)

comment:1 @designsimply7 years ago

  • Milestone changed from 2.8 to 2.7

comment:2 @markjaquith7 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [9661]) Cast image sizes to ints. Explain that sizes are in pixels. fixes #8160

Note: See TracTickets for help on using tickets.