Changeset 968842
- Timestamp:
- 08/20/2014 07:42:54 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wp-auto-featured-image/trunk/wp-auto-featured-image.php
r955124 r968842 8 8 * License: GPLv2 or later 9 9 * License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 * Version: 1. 110 * Version: 1.2 11 11 12 12 Copyright (c) 2014 by Sanny Srivastava (sannysrivastava@gmail.com) … … 264 264 $options = get_option('wpafi_options'); 265 265 266 if(( wp_is_post_revision( $post_id) || wp_is_post_autosave( $post_id ) ) ) { 267 return; 268 } 269 266 270 # Check if this suppose to be set thumbnail. 267 271 if((!empty($options['wpafi_post_type'])) && (is_array($options['wpafi_post_type'])) && (in_array($post_type, $options['wpafi_post_type']) != 0) && (has_post_thumbnail( $post_id ) == false)) {
Note: See TracChangeset
for help on using the changeset viewer.