Version Description
- Fix: CDN + Optimized Thumbnails not working for images from some domains.
Download this release
Release Info
Developer | marceljm |
Plugin | Featured Image From URL |
Version | 3.5.6 |
Comparing to | |
See all releases |
Code changes from version 3.5.5 to 3.5.6
- featured-image-from-url.php +1 -1
- includes/util.php +9 -2
- readme.txt +6 -6
featured-image-from-url.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Featured Image from URL (FIFU)
|
5 |
* Plugin URI: https://fifu.app/
|
6 |
* Description: Use an external image as featured image of a post or WooCommerce product. Includes Image Search, Video, Social Tags, SEO, Lazy Load, Gallery, Automation etc.
|
7 |
-
* Version: 3.5.
|
8 |
* Author: fifu.app
|
9 |
* Author URI: https://fifu.app/
|
10 |
* WC requires at least: 4.0
|
4 |
* Plugin Name: Featured Image from URL (FIFU)
|
5 |
* Plugin URI: https://fifu.app/
|
6 |
* Description: Use an external image as featured image of a post or WooCommerce product. Includes Image Search, Video, Social Tags, SEO, Lazy Load, Gallery, Automation etc.
|
7 |
+
* Version: 3.5.6
|
8 |
* Author: fifu.app
|
9 |
* Author URI: https://fifu.app/
|
10 |
* WC requires at least: 4.0
|
includes/util.php
CHANGED
@@ -109,10 +109,17 @@ function fifu_is_jetpack_active() {
|
|
109 |
if (!is_plugin_active('jetpack/jetpack.php'))
|
110 |
return false;
|
111 |
|
112 |
-
if (defined('FIFU_DEV_DEBUG') && FIFU_DEV_DEBUG)
|
|
|
113 |
return true;
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
|
115 |
-
return
|
116 |
}
|
117 |
|
118 |
// active themes
|
109 |
if (!is_plugin_active('jetpack/jetpack.php'))
|
110 |
return false;
|
111 |
|
112 |
+
if (defined('FIFU_DEV_DEBUG') && FIFU_DEV_DEBUG) {
|
113 |
+
add_filter('jetpack_photon_any_extension_for_domain', '__return_true');
|
114 |
return true;
|
115 |
+
}
|
116 |
+
|
117 |
+
if (function_exists('jetpack_photon_url') && class_exists('Jetpack') && method_exists('Jetpack', 'get_active_modules') && in_array('photon', Jetpack::get_active_modules())) {
|
118 |
+
add_filter('jetpack_photon_any_extension_for_domain', '__return_true');
|
119 |
+
return true;
|
120 |
+
}
|
121 |
|
122 |
+
return false;
|
123 |
}
|
124 |
|
125 |
// active themes
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://donorbox.org/fifu
|
|
4 |
Tags: featured, image, url, woocommerce, thumbnail
|
5 |
Requires at least: 5.3
|
6 |
Tested up to: 5.7
|
7 |
-
Stable tag: 3.5.
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -200,20 +200,20 @@ Supports videos from YouTube, Vimeo, Imgur, 9GAG, Cloudinary, Tumblr and Publiti
|
|
200 |
|
201 |
== Changelog ==
|
202 |
|
|
|
|
|
|
|
203 |
= 3.5.5 =
|
204 |
* Improvement: Hide Featured Media may work with internal featured images now.
|
205 |
|
206 |
= 3.5.4 =
|
207 |
* Improvement: FIFU Product Gallery supports videos now.
|
208 |
|
209 |
-
= 3.5.3 =
|
210 |
-
* New option: Featured Image in Content > Custom post type; new option: CDN + Optimized Thumbnails > Shortpixel.
|
211 |
-
|
212 |
= others =
|
213 |
* [more](https://fifu.app/changelog/)
|
214 |
|
215 |
|
216 |
== Upgrade Notice ==
|
217 |
|
218 |
-
= 3.5.
|
219 |
-
*
|
4 |
Tags: featured, image, url, woocommerce, thumbnail
|
5 |
Requires at least: 5.3
|
6 |
Tested up to: 5.7
|
7 |
+
Stable tag: 3.5.6
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
200 |
|
201 |
== Changelog ==
|
202 |
|
203 |
+
= 3.5.6 =
|
204 |
+
* Fix: CDN + Optimized Thumbnails not working for images from some domains.
|
205 |
+
|
206 |
= 3.5.5 =
|
207 |
* Improvement: Hide Featured Media may work with internal featured images now.
|
208 |
|
209 |
= 3.5.4 =
|
210 |
* Improvement: FIFU Product Gallery supports videos now.
|
211 |
|
|
|
|
|
|
|
212 |
= others =
|
213 |
* [more](https://fifu.app/changelog/)
|
214 |
|
215 |
|
216 |
== Upgrade Notice ==
|
217 |
|
218 |
+
= 3.5.6 =
|
219 |
+
* Fix: CDN + Optimized Thumbnails not working for images from some domains.
|