Changeset 968846
- Timestamp:
- 08/20/2014 07:46:12 AM (12 years ago)
- Location:
- wp-auto-featured-image/tags/1.2
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
wp-auto-featured-image.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-auto-featured-image/tags/1.2/readme.txt
r955124 r968846 4 4 Donate link: https://sannysrivastava.wordpress.com 5 5 Requires at least: 3.0 6 Tested up to: 3.9 7 Stable tag: 1. 16 Tested up to: 3.9.2 7 Stable tag: 1.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 52 52 == Changelog == 53 53 54 = 1.2 = 55 * Bug Fix [Featured Image Return To Default When making Changes to Content] 56 https://wordpress.org/support/topic/when-featured-image-is-selected-it-still-use-the-default-image 57 54 58 = 1.1 = 55 59 * Restrict to specific categoriers. -
wp-auto-featured-image/tags/1.2/wp-auto-featured-image.php
r955124 r968846 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.