Changes between Initial Version and Version 1 of Ticket #61681, comment 2
- Timestamp:
- 07/17/2024 07:17:40 PM (2 months ago)
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. 1 Oh wait, what if an instance of `WP_Comment` is instantiated ''before'' it has an assigned ID? 2 3 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. 2 4 3 5 Testing this theory and writing tests to show it.