Version Description
- Fix: notice (Trying to get property ID of non-object).
Download this release
Release Info
Developer | marceljm |
Plugin | Featured Image From URL |
Version | 4.0.6 |
Comparing to | |
See all releases |
Code changes from version 4.0.5 to 4.0.6
- admin/html/troubleshooting.html +14 -0
- featured-image-from-url.php +1 -1
- includes/thumbnail.php +1 -1
- readme.txt +6 -6
admin/html/troubleshooting.html
CHANGED
@@ -9,6 +9,20 @@
|
|
9 |
<div id="tabs-top" style="float:left">
|
10 |
<ul>
|
11 |
<div id="tabs-t" style="padding:1em 1.4em; position: relative; top: -25px;">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
<div class="box">
|
13 |
<table>
|
14 |
<tr>
|
9 |
<div id="tabs-top" style="float:left">
|
10 |
<ul>
|
11 |
<div id="tabs-t" style="padding:1em 1.4em; position: relative; top: -25px;">
|
12 |
+
<div class="box">
|
13 |
+
<table>
|
14 |
+
<tr>
|
15 |
+
<td style="border-bottom:none">2022-08-08</td>
|
16 |
+
<td style="border-bottom:none"><h3> Facebook</h3></td>
|
17 |
+
<td style="border-bottom:none">social networking</td>
|
18 |
+
</tr>
|
19 |
+
</table>
|
20 |
+
<div class="greybox" style="position: relative; top: -10px">
|
21 |
+
Facebook doesn't share a featured image and the Sharing Debugger informs: "Provided og:image URL, ... is not allowed because it points to the Facebook CDN". Two possible solutions:<br>
|
22 |
+
a) don't use image URLs from "fbcdn.net".<br>
|
23 |
+
b) upload the image to FIFU Cloud.<br>
|
24 |
+
</div>
|
25 |
+
</div>
|
26 |
<div class="box">
|
27 |
<table>
|
28 |
<tr>
|
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/video as featured image/video of a post or WooCommerce product.
|
7 |
-
* Version: 4.0.
|
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/video as featured image/video of a post or WooCommerce product.
|
7 |
+
* Version: 4.0.6
|
8 |
* Author: fifu.app
|
9 |
* Author URI: https://fifu.app/
|
10 |
* WC requires at least: 4.0
|
includes/thumbnail.php
CHANGED
@@ -267,7 +267,7 @@ function fifu_should_hide() {
|
|
267 |
return false;
|
268 |
|
269 |
global $post;
|
270 |
-
if ($post->ID != get_queried_object_id())
|
271 |
return false;
|
272 |
|
273 |
return !is_front_page() && ((is_singular('post') && fifu_is_on('fifu_hide_post')) || (is_singular('page') && fifu_is_on('fifu_hide_page')) || (is_singular(get_post_type(get_the_ID())) && fifu_is_cpt() && fifu_is_on('fifu_hide_cpt')));
|
267 |
return false;
|
268 |
|
269 |
global $post;
|
270 |
+
if (isset($post->ID) && $post->ID != get_queried_object_id())
|
271 |
return false;
|
272 |
|
273 |
return !is_front_page() && ((is_singular('post') && fifu_is_on('fifu_hide_post')) || (is_singular('page') && fifu_is_on('fifu_hide_page')) || (is_singular(get_post_type(get_the_ID())) && fifu_is_cpt() && fifu_is_on('fifu_hide_cpt')));
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://donorbox.org/fifu
|
|
4 |
Tags: featured, image, url, video, woocommerce
|
5 |
Requires at least: 5.3
|
6 |
Tested up to: 6.0.1
|
7 |
-
Stable tag: 4.0.
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -257,20 +257,20 @@ Featured Image, Figurë e Zgjedhur, Image mise en avant, Uitgelichte afbeelding,
|
|
257 |
|
258 |
== Changelog ==
|
259 |
|
|
|
|
|
|
|
260 |
= 4.0.5 =
|
261 |
* Fix: Auto Set Image Title (AUTO-DRAFT value was being saved for products without title).
|
262 |
|
263 |
= 4.0.4 =
|
264 |
* New: fields for Gravity Forms plugin; FIFU Cloud: available for all users; fix: Default Featured Image > Post types; fix: Hide Featured Media (conflict with related posts section); fix: Auto set featured media from post content (unduly working for Elementor plugin editions).
|
265 |
|
266 |
-
= 4.0.3 =
|
267 |
-
* New FIFU Shortcode: for featured slider.
|
268 |
-
|
269 |
= others =
|
270 |
* [more](https://fifu.app/changelog)
|
271 |
|
272 |
|
273 |
== Upgrade Notice ==
|
274 |
|
275 |
-
= 4.0.
|
276 |
-
* Fix:
|
4 |
Tags: featured, image, url, video, woocommerce
|
5 |
Requires at least: 5.3
|
6 |
Tested up to: 6.0.1
|
7 |
+
Stable tag: 4.0.6
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
257 |
|
258 |
== Changelog ==
|
259 |
|
260 |
+
= 4.0.6 =
|
261 |
+
* Fix: notice (Trying to get property ID of non-object).
|
262 |
+
|
263 |
= 4.0.5 =
|
264 |
* Fix: Auto Set Image Title (AUTO-DRAFT value was being saved for products without title).
|
265 |
|
266 |
= 4.0.4 =
|
267 |
* New: fields for Gravity Forms plugin; FIFU Cloud: available for all users; fix: Default Featured Image > Post types; fix: Hide Featured Media (conflict with related posts section); fix: Auto set featured media from post content (unduly working for Elementor plugin editions).
|
268 |
|
|
|
|
|
|
|
269 |
= others =
|
270 |
* [more](https://fifu.app/changelog)
|
271 |
|
272 |
|
273 |
== Upgrade Notice ==
|
274 |
|
275 |
+
= 4.0.6 =
|
276 |
+
* Fix: notice (Trying to get property ID of non-object).
|