Make WordPress Core

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's profile 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)

#1 @designsimply
16 years ago

  • Milestone changed from 2.8 to 2.7

#2 @markjaquith
16 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.