Version Description
- Bug fix: priority feature.
Download this release
Release Info
Developer | marceljm |
Plugin | Featured Image From URL |
Version | 1.8.5 |
Comparing to | |
See all releases |
Code changes from version 1.8.4 to 1.8.5
- featured-image-from-url.php +1 -1
- includes/thumbnail.php +1 -1
- readme.txt +6 -0
featured-image-from-url.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Featured Image From URL
|
5 |
* Plugin URI: http://featuredimagefromurl.com/
|
6 |
* 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.
|
7 |
-
* Version: 1.8.
|
8 |
* Author: Marcel Jacques Machado
|
9 |
* Author URI: https://www.linkedin.com/in/marceljm/
|
10 |
*/
|
4 |
* Plugin Name: Featured Image From URL
|
5 |
* Plugin URI: http://featuredimagefromurl.com/
|
6 |
* 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.
|
7 |
+
* Version: 1.8.5
|
8 |
* Author: Marcel Jacques Machado
|
9 |
* Author URI: https://www.linkedin.com/in/marceljm/
|
10 |
*/
|
includes/thumbnail.php
CHANGED
@@ -58,7 +58,7 @@ function fifu_replace($html, $post_id) {
|
|
58 |
$url = get_post_meta($post_id, 'fifu_image_url', true);
|
59 |
$alt = get_post_meta($post_id, 'fifu_image_alt', true);
|
60 |
|
61 |
-
return !$url ? $html : fifu_get_html($url, $alt);
|
62 |
}
|
63 |
|
64 |
function is_ajax_call() {
|
58 |
$url = get_post_meta($post_id, 'fifu_image_url', true);
|
59 |
$alt = get_post_meta($post_id, 'fifu_image_alt', true);
|
60 |
|
61 |
+
return !$url || fifu_show_internal_instead_of_external($post_id) ? $html : fifu_get_html($url, $alt);
|
62 |
}
|
63 |
|
64 |
function is_ajax_call() {
|
readme.txt
CHANGED
@@ -159,6 +159,9 @@ Features:
|
|
159 |
|
160 |
== Changelog ==
|
161 |
|
|
|
|
|
|
|
162 |
= 1.8.4 =
|
163 |
* Allows to prioritize the internal image rather than the external one, if both exist.
|
164 |
|
@@ -369,6 +372,9 @@ was removed. To finish, a Premium version is now been presented.
|
|
369 |
|
370 |
== Upgrade Notice ==
|
371 |
|
|
|
|
|
|
|
372 |
= 1.8.4 =
|
373 |
* Allows to prioritize the internal image rather than the external one, if both exist.
|
374 |
|
159 |
|
160 |
== Changelog ==
|
161 |
|
162 |
+
= 1.8.5 =
|
163 |
+
* Bug fix: priority feature.
|
164 |
+
|
165 |
= 1.8.4 =
|
166 |
* Allows to prioritize the internal image rather than the external one, if both exist.
|
167 |
|
372 |
|
373 |
== Upgrade Notice ==
|
374 |
|
375 |
+
= 1.8.5 =
|
376 |
+
* Bug fix: priority feature.
|
377 |
+
|
378 |
= 1.8.4 =
|
379 |
* Allows to prioritize the internal image rather than the external one, if both exist.
|
380 |
|