[wp-trac] [WordPress Trac] #5481: Use is_numeric instead of ctype_digit in wp-admin/includes/image.php

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 18 01:56:56 GMT 2007


#5481: Use is_numeric instead of ctype_digit in wp-admin/includes/image.php
----------------------------+-----------------------------------------------
 Reporter:  josephscott     |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  normal          |   Milestone:  2.4      
Component:  Administration  |     Version:  2.4      
 Severity:  normal          |    Keywords:  has-patch
----------------------------+-----------------------------------------------
 The use of ctype_digit() has brought in as part of r6309 in wp-
 admin/includes/image.php.  This will sound odd, but I've run into PHP
 installs that don't have ctype_* functions available.  Seems like the next
 best thing is to use is_numeric().

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5481>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list