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

WordPress Trac noreply at wordpress.org
Wed Jan 30 19:56:47 UTC 2013


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

Comment (by SergeyBiryukov):

 `wp.getPage()` description in Codex appears to be inaccurate: [[BR]]
 http://codex.wordpress.org/XML-RPC_wp#wp.getPage

 It states that `userid` is an int, whereas it was actually a string.
 Related: [comment:ticket:18869:4].

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


More information about the wp-trac mailing list