Plugin Directory

Changeset 968846


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

Update

Location:
wp-auto-featured-image/tags/1.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-auto-featured-image/tags/1.2/readme.txt

    r955124 r968846  
    44Donate link: https://sannysrivastava.wordpress.com
    55Requires at least: 3.0
    6 Tested up to: 3.9
    7 Stable tag: 1.1
     6Tested up to: 3.9.2
     7Stable tag: 1.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5252== Changelog ==
    5353
     54= 1.2 =
     55* Bug Fix [Featured Image Return To Default When making Changes to Content]
     56https://wordpress.org/support/topic/when-featured-image-is-selected-it-still-use-the-default-image
     57
    5458= 1.1 =
    5559* Restrict to specific categoriers.
  • wp-auto-featured-image/tags/1.2/wp-auto-featured-image.php

    r955124 r968846  
    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.