Version Description
- Bug fix: stop button for fake internal featured image process.
Download this release
Release Info
Developer | marceljm |
Plugin | Featured Image From URL |
Version | 2.0.8 |
Comparing to | |
See all releases |
Code changes from version 2.0.7 to 2.0.8
- admin/menu.php +5 -4
- featured-image-from-url.php +1 -1
- readme.txt +6 -0
admin/menu.php
CHANGED
@@ -55,9 +55,10 @@ function fifu_get_menu_html() {
|
|
55 |
if (fifu_is_on('fifu_fake2')) {
|
56 |
update_option('fifu_data_generation', 'toggleoff');
|
57 |
fifu_enable_fake2();
|
58 |
-
} else {
|
59 |
fifu_disable_fake2();
|
60 |
-
}
|
|
|
61 |
|
62 |
if ($default_url && fifu_is_on('fifu_enable_default_url') && fifu_is_on('fifu_fake2')) {
|
63 |
if (!wp_get_attachment_url(get_option('fifu_default_attach_id'))) {
|
@@ -160,7 +161,7 @@ function fifu_update_option($input, $type) {
|
|
160 |
}
|
161 |
|
162 |
function fifu_enable_fake2() {
|
163 |
-
if (get_option('fifu_fake_created'))
|
164 |
return;
|
165 |
update_option('fifu_fake_created', true);
|
166 |
|
@@ -262,7 +263,7 @@ function fifu_enable_fake_ctgr() {
|
|
262 |
}
|
263 |
|
264 |
function fifu_disable_fake2() {
|
265 |
-
if (!get_option('fifu_fake_created'))
|
266 |
return;
|
267 |
update_option('fifu_fake_created', false);
|
268 |
|
55 |
if (fifu_is_on('fifu_fake2')) {
|
56 |
update_option('fifu_data_generation', 'toggleoff');
|
57 |
fifu_enable_fake2();
|
58 |
+
} else if (fifu_is_off('fifu_fake2')) {
|
59 |
fifu_disable_fake2();
|
60 |
+
} else
|
61 |
+
update_option('fifu_fake_created', null);
|
62 |
|
63 |
if ($default_url && fifu_is_on('fifu_enable_default_url') && fifu_is_on('fifu_fake2')) {
|
64 |
if (!wp_get_attachment_url(get_option('fifu_default_attach_id'))) {
|
161 |
}
|
162 |
|
163 |
function fifu_enable_fake2() {
|
164 |
+
if (get_option('fifu_fake_created') && get_option('fifu_fake_created') != null)
|
165 |
return;
|
166 |
update_option('fifu_fake_created', true);
|
167 |
|
263 |
}
|
264 |
|
265 |
function fifu_disable_fake2() {
|
266 |
+
if (!get_option('fifu_fake_created') && get_option('fifu_fake_created') != null)
|
267 |
return;
|
268 |
update_option('fifu_fake_created', false);
|
269 |
|
featured-image-from-url.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Featured Image from URL
|
5 |
* Plugin URI: https://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: 2.0.
|
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: https://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: 2.0.8
|
8 |
* Author: Marcel Jacques Machado
|
9 |
* Author URI: https://www.linkedin.com/in/marceljm/
|
10 |
*/
|
readme.txt
CHANGED
@@ -161,6 +161,9 @@ Features:
|
|
161 |
|
162 |
== Changelog ==
|
163 |
|
|
|
|
|
|
|
164 |
= 2.0.7 =
|
165 |
* Improvement: stop button for fake internal featured image process.
|
166 |
|
@@ -452,6 +455,9 @@ was removed. To finish, a Premium version is now been presented.
|
|
452 |
|
453 |
== Upgrade Notice ==
|
454 |
|
|
|
|
|
|
|
455 |
= 2.0.7 =
|
456 |
* Improvement: stop button for fake internal featured image process.
|
457 |
|
161 |
|
162 |
== Changelog ==
|
163 |
|
164 |
+
= 2.0.8 =
|
165 |
+
* Bug fix: stop button for fake internal featured image process.
|
166 |
+
|
167 |
= 2.0.7 =
|
168 |
* Improvement: stop button for fake internal featured image process.
|
169 |
|
455 |
|
456 |
== Upgrade Notice ==
|
457 |
|
458 |
+
= 2.0.8 =
|
459 |
+
* Bug fix: stop button for fake internal featured image process.
|
460 |
+
|
461 |
= 2.0.7 =
|
462 |
* Improvement: stop button for fake internal featured image process.
|
463 |
|