Changes between Version 1 and Version 2 of Ticket #23931, comment 2
- Timestamp:
- 07/29/2013 12:51:56 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23931, comment 2
v1 v2 1 1 By refactoring the way that the commentdata is prepared for insertion into the DB, it now merges the passed-in data on top of a defaults array that includes a comment_post_ID, so there will be no undefined index. 2 2 3 Patch also includes a `wp_insert_comment_data 3 Patch also includes a `wp_insert_comment_data` filter before insert to accompany the `wp_insert_comment` action which happens after insert. 4 4 5 5 See first attached patch, or see from branch on GitHub: https://github.com/x-team/WordPress/compare/87f9d11...7588a21