Changeset 23554 for trunk/wp-includes/revision.php
- Timestamp:
- 03/01/2013 04:28:40 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/revision.php
r23466 r23554 242 242 243 243 $post = _wp_post_revision_fields( $post, $autosave ); 244 $post = add_magic_quotes($post); //since data is from db 244 245 245 246 $revision_id = wp_insert_post( $post ); … … 320 321 $update['ID'] = $revision['post_parent']; 321 322 323 $update = add_magic_quotes( $update ); //since data is from db 324 322 325 $post_id = wp_update_post( $update ); 323 326 if ( is_wp_error( $post_id ) )
Note: See TracChangeset
for help on using the changeset viewer.