Featured Image From URL - Version 1.6.2

Version Description

  • Bug fix.

=

Download this release

Release Info

Developer marceljm
Plugin Icon 128x128 Featured Image From URL
Version 1.6.2
Comparing to
See all releases

Code changes from version 1.6.1 to 1.6.2

featured-image-from-url.php CHANGED
@@ -3,7 +3,7 @@
3
  /*
4
  * Plugin Name: Featured Image From URL
5
  * Description: Use an external image as Featured Image of your post/page/custom post type (WooCommerce). Includes Auto Set (External Post), Product Gallery, Social Tags and more.
6
- * Version: 1.6.1
7
  * Author: Marcel Jacques Machado
8
  * Author URI: http://featuredimagefromurl.com/
9
  */
3
  /*
4
  * Plugin Name: Featured Image From URL
5
  * Description: Use an external image as Featured Image of your post/page/custom post type (WooCommerce). Includes Auto Set (External Post), Product Gallery, Social Tags and more.
6
+ * Version: 1.6.2
7
  * Author: Marcel Jacques Machado
8
  * Author URI: http://featuredimagefromurl.com/
9
  */
includes/thumbnail.php CHANGED
@@ -71,7 +71,7 @@ function fifu_add_to_content($content) {
71
  add_filter('wp_get_attachment_url', 'fifu_replace_attachment_url', 10, 2);
72
 
73
  function fifu_replace_attachment_url($att_url, $att_id) {
74
- if (att_id == get_post_thumbnail_id(get_the_ID())) {
75
  $url = get_post_meta(get_the_ID(), 'fifu_image_url', true);
76
  if ($url)
77
  $att_url = $url;
71
  add_filter('wp_get_attachment_url', 'fifu_replace_attachment_url', 10, 2);
72
 
73
  function fifu_replace_attachment_url($att_url, $att_id) {
74
+ if ($att_id == get_post_thumbnail_id(get_the_ID())) {
75
  $url = get_post_meta(get_the_ID(), 'fifu_image_url', true);
76
  if ($url)
77
  $att_url = $url;
readme.txt CHANGED
@@ -282,6 +282,9 @@ was removed. To finish, a Premium version is now been presented.
282
  = 1.6.1 =
283
  * Bug fix.
284
 
 
 
 
285
  == Upgrade Notice ==
286
 
287
  = 1.0 =
@@ -422,3 +425,6 @@ was removed. To finish, a Premium version is now been presented.
422
 
423
  = 1.6.1 =
424
  * Bug fix.
 
 
 
282
  = 1.6.1 =
283
  * Bug fix.
284
 
285
+ = 1.6.2 =
286
+ * Bug fix.
287
+
288
  == Upgrade Notice ==
289
 
290
  = 1.0 =
425
 
426
  = 1.6.1 =
427
  * Bug fix.
428
+
429
+ = 1.6.2 =
430
+ * Bug fix.