Changes in branches/2.7/wp-includes/post.php [10253:10621]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.7/wp-includes/post.php
r10253 r10621 3457 3457 3458 3458 $post = _wp_post_revision_fields( $post, $autosave ); 3459 3459 $post = add_magic_quotes($post); //since data is from db 3460 3460 3461 $revision_id = wp_insert_post( $post ); 3461 3462 if ( is_wp_error($revision_id) ) … … 3533 3534 3534 3535 $update['ID'] = $revision['post_parent']; 3536 3537 $update = add_magic_quotes( $update ); //since data is from db 3535 3538 3536 3539 $post_id = wp_update_post( $update );
Note: See TracChangeset
for help on using the changeset viewer.