[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
Thu Dec 18 02:44:26 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.7.1    
Component:  General       |      Version:  2.7      
 Severity:  normal        |   Resolution:           
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------
Comment (by DD32):

 This is pretty redundant IMO, the post_id's will allways be generated by
 WP, its not user-supplied data, so it should always be a number not
 prefixed with 0.

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


More information about the wp-trac mailing list