[wp-trac] Re: [WordPress Trac] #8659: wp-includes/js/autosave.js: Force parseInt() on user supplied data to use base 10

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 20 00:57:23 GMT 2008


#8659: wp-includes/js/autosave.js: Force parseInt() on user supplied data to use
base 10
--------------------------+-------------------------------------------------
 Reporter:  projct        |        Owner:  anonymous
     Type:  defect (bug)  |       Status:  new      
 Priority:  normal        |    Milestone:  2.8      
Component:  General       |      Version:  2.7      
 Severity:  normal        |   Resolution:           
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------
Changes (by azaozz):

  * milestone:  2.7.1 => 2.8

Comment:

 Replying to [comment:1 DD32]:
 Agreed, but this is more of a coding standards related change in this
 case. It's better to get the guessing out of parseInt() unless it's
 specifically needed.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8659#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list