[wp-trac] [WordPress Trac] #34956: The default for the `comment_post_ID` in `wp_insert_comment` should be `0` not an empty string

WordPress Trac noreply at wordpress.org
Wed Dec 9 23:43:02 UTC 2015


#34956: The default for the `comment_post_ID` in `wp_insert_comment` should be `0`
not an empty string
-------------------------+-------------------------------------------------
 Reporter:  rachelbaker  |      Owner:
     Type:  defect       |     Status:  new
  (bug)                  |  Milestone:  Awaiting Review
 Priority:  normal       |    Version:  4.0
Component:  Comments     |   Keywords:  needs-patch needs-unit-tests good-
 Severity:  normal       |  first-bug
  Focuses:               |
-------------------------+-------------------------------------------------
 The `comment_post_ID` column in the database is BIGINT and has a default
 value of `0`.  Introduced in r28457.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34956>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list