[wp-trac] [WordPress Trac] #16974: absint to return 0 for values with non-numeric characters

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 26 22:44:11 UTC 2011


#16974: absint to return 0 for values with non-numeric characters
--------------------------+----------------------
 Reporter:  sc0ttkclark   |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  3.1
 Severity:  minor         |  Resolution:  wontfix
 Keywords:  has-patch     |
--------------------------+----------------------

Comment (by aaroncampbell):

 That's the way I was leading when talking to him in IRC as well.  I think
 `absint()` is just used in too many places to make a change like this.

 I'd instead recommend that if a site wants to handle things differently
 they grab p and filter it before it gets processed normally.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16974#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list