Changeset 1230 in tests for trunk/includes/factory.php
- Timestamp:
- 03/03/2013 09:10:38 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/includes/factory.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/factory.php
r1215 r1230 78 78 79 79 function create_object( $args ) { 80 return wp_insert_comment( $ args);80 return wp_insert_comment( $this->addslashes_deep( $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( $ fields);85 return wp_update_comment( $this->addslashes_deep( $fields ) ); 86 86 } 87 87
Note: See TracChangeset
for help on using the changeset viewer.