Changeset 1215 in tests for trunk/includes/factory.php
- Timestamp:
- 02/14/2013 10:51:37 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/includes/factory.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/factory.php
r1128 r1215 78 78 79 79 function create_object( $args ) { 80 return wp_insert_comment( $ this->addslashes_deep( $args ));80 return wp_insert_comment( $args ); 81 81 } 82 82 83 83 function update_object( $comment_id, $fields ) { 84 84 $fields['comment_ID'] = $comment_id; 85 return wp_update_comment( $ this->addslashes_deep( $fields ));85 return wp_update_comment( $fields ); 86 86 } 87 87
Note: See TracChangeset
for help on using the changeset viewer.