Changeset 28334 for trunk/src/wp-includes/revision.php
- Timestamp:
- 05/07/2014 03:37:45 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/revision.php
r27699 r28334 191 191 192 192 return $revision; 193 break;194 193 } 195 194 } … … 255 254 return new WP_Error( 'post_type', __( 'Cannot create a revision of a revision' ) ); 256 255 257 $post_id = $post['ID'];258 256 $post = _wp_post_revision_fields( $post, $autosave ); 259 257 $post = wp_slash($post); //since data is from db
Note: See TracChangeset
for help on using the changeset viewer.