Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #61681, comment 2


Ignore:
Timestamp:
07/17/2024 07:17:40 PM (2 months ago)
Author:
hellofromTonya
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #61681, comment 2

    initial v1  
    1 Oh wait, what if an instance of `WP_Comment` is instantiated ''before'' it has an assigned ID. The ID is auto-assigned in the database. So if a new comment is instantiated but not yet saved in the database, the `comment_ID` property should be empty.
     1Oh wait, what if an instance of `WP_Comment` is instantiated ''before'' it has an assigned ID?
     2
     3The ID is auto-assigned in the database. So if a new comment is instantiated but not yet saved in the database, the `comment_ID` property should be empty.
    24
    35Testing this theory and writing tests to show it.