Changeset 41980 for trunk/src/wp-trackback.php
- Timestamp:
- 10/23/2017 10:11:11 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-trackback.php
r38791 r41980 127 127 $commentdata = compact('comment_post_ID', 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_content', 'comment_type'); 128 128 129 wp_new_comment($commentdata); 129 $result = wp_new_comment( $commentdata ); 130 131 if ( is_wp_error( $result ) ) { 132 trackback_response( 1, $result->get_error_message() ); 133 } 134 130 135 $trackback_id = $wpdb->insert_id; 131 136
Note: See TracChangeset
for help on using the changeset viewer.