Changeset 38433 for trunk/src/wp-includes/revision.php
- Timestamp:
- 08/29/2016 12:24:09 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/revision.php
r38118 r38433 595 595 } 596 596 597 if ( empty( $_REQUEST['_thumbnail_id'] ) || $post->ID != $post_id || '_thumbnail_id' != $meta_key || 'revision' == $post->post_type ) { 597 if ( empty( $_REQUEST['_thumbnail_id'] ) || 598 empty( $_REQUEST['preview_id'] ) || 599 $post->ID != $post_id || 600 '_thumbnail_id' != $meta_key || 601 'revision' == $post->post_type || 602 $post_id != $_REQUEST['preview_id'] 603 ) { 598 604 return $value; 599 605 }
Note: See TracChangeset
for help on using the changeset viewer.