[wp-trac] [WordPress Trac] #22324: sanitize_post_field() forgets some integer fields

WordPress Trac noreply at wordpress.org
Wed Jan 30 19:16:07 UTC 2013


#22324: sanitize_post_field() forgets some integer fields
------------------------------+-----------------------------
 Reporter:  GeertDD           |       Owner:  SergeyBiryukov
     Type:  enhancement       |      Status:  reopened
 Priority:  normal            |   Milestone:  3.6
Component:  General           |     Version:  3.4.2
 Severity:  minor             |  Resolution:
 Keywords:  needs-unit-tests  |
------------------------------+-----------------------------

Comment (by markoheijnen):

 Looking into it this never should have been committed as it is. Changing
 the data type is really dangerous and should be tested well and also the
 external API's should be checked. This since the app can crash now due
 their strictness of data types.

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


More information about the wp-trac mailing list