Plugin Directory

Changeset 968842


Ignore:
Timestamp:
08/20/2014 07:42:54 AM (12 years ago)
Author:
sanny_rss
Message:

Update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-auto-featured-image/trunk/wp-auto-featured-image.php

    r955124 r968842  
    88 * License: GPLv2 or later
    99 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
    10  * Version: 1.1
     10 * Version: 1.2
    1111 
    1212    Copyright (c) 2014 by Sanny Srivastava (sannysrivastava@gmail.com)
     
    264264    $options = get_option('wpafi_options');
    265265
     266    if(( wp_is_post_revision( $post_id) || wp_is_post_autosave( $post_id ) ) ) {
     267        return;
     268    }
     269   
    266270    # Check if this suppose to be set thumbnail.
    267271    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.