WordPress.org

Make WordPress Core

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


Ignore:
Timestamp:
07/29/13 00:51:39 (12 months ago)
Author:
westonruter
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23931, comment 2

    initial v1  
    11By 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. 
    22 
     3Patch also includes a `wp_insert_comment_data ` filter before insert to accompany the `wp_insert_comment` action which happens after insert. 
     4 
    35See first attached patch, or see from branch on GitHub: https://github.com/x-team/WordPress/compare/87f9d11...7588a21