[wp-trac] [WordPress Trac] #12446: "get_comments" transforms post id

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 3 20:56:11 UTC 2010


#12446: "get_comments" transforms post id
--------------------------+-------------------------------------------------
 Reporter:  jmabe         |        Owner:         
     Type:  defect (bug)  |       Status:  closed 
 Priority:  normal        |    Milestone:         
Component:  General       |      Version:         
 Severity:  normal        |   Resolution:  invalid
 Keywords:                |  
--------------------------+-------------------------------------------------

Comment(by jmabe):

 Replying to [comment:1 Denis-de-Bernardy]:
 > the database stores IDs as bigint(20) unsigned.

 but what if your plugin is emulating a post object, and is passing a
 negative number for the ID :)

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


More information about the wp-trac mailing list