Changeset 713239
- Timestamp:
- 05/15/2013 03:10:17 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
email-post-changes/trunk/class.email-post-changes.php
r704854 r713239 69 69 return; 70 70 71 if ( wp_is_post_autosave( $post_after ) ) 72 return; 73 74 // Our inputs are just the raw post data from before and after, so the wp_is_post_autosave() check, 75 // which looks for {$post->post_parent}-autosave in the post_name, may not work. Check this too just to be safe. 76 if ( 'auto-draft' == $post_before->post_status || 'auto-draft' == $post_after->post_status ) 71 if ( isset( $_POST['autosave'] ) ) 77 72 return; 78 73
Note: See TracChangeset
for help on using the changeset viewer.