[wp-trac] [WordPress Trac] #34954: Comments Created Without a `comment_post_ID` Are Not Editable

WordPress Trac noreply at wordpress.org
Thu Dec 10 03:14:54 UTC 2015


#34954: Comments Created Without a `comment_post_ID` Are Not Editable
-------------------------------------------------+-------------------------
 Reporter:  rachelbaker                          |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  4.5
Component:  Comments                             |     Version:  4.2
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-patch has-unit-   |     Focuses:
  tests                                          |  administration
-------------------------------------------------+-------------------------

Comment (by boonebgorges):

 Thanks @rachelbaker - Test looks good, though I'd change `assertEquals` to
 `assertSame`. Side note: pretty cool how `wp_update_comment()` returns an
 integer.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34954#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list