Changeset 23594 for trunk/wp-includes/revision.php
- Timestamp:
- 03/03/2013 09:11:40 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/revision.php
r23554 r23594 242 242 243 243 $post = _wp_post_revision_fields( $post, $autosave ); 244 $post = add_magic_quotes($post); //since data is from db244 $post = wp_slash($post); //since data is from db 245 245 246 246 $revision_id = wp_insert_post( $post ); … … 321 321 $update['ID'] = $revision['post_parent']; 322 322 323 $update = add_magic_quotes( $update ); //since data is from db323 $update = wp_slash( $update ); //since data is from db 324 324 325 325 $post_id = wp_update_post( $update );
Note: See TracChangeset
for help on using the changeset viewer.