Changeset 10620
- Timestamp:
- 02/22/2009 12:35:42 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r10502 r10620 3508 3508 3509 3509 $post = _wp_post_revision_fields( $post, $autosave ); 3510 3510 $post = add_magic_quotes($post); //since data is from db 3511 3511 3512 $revision_id = wp_insert_post( $post ); 3512 3513 if ( is_wp_error($revision_id) ) … … 3584 3585 3585 3586 $update['ID'] = $revision['post_parent']; 3587 3588 $update = add_magic_quotes( $update ); //since data is from db 3586 3589 3587 3590 $post_id = wp_update_post( $update );
Note: See TracChangeset
for help on using the changeset viewer.