Version Description
- Enhancement: REST API (integration with batch category); enhancement: don't get URL from post content (checked by default).
Download this release
Release Info
Developer | marceljm |
Plugin | Featured Image From URL |
Version | 3.8.7 |
Comparing to | |
See all releases |
Code changes from version 3.8.6 to 3.8.7
- admin/html/menu.html +17 -3
- admin/html/meta-box.html +1 -1
- admin/html/txt/batch-category.txt +30 -0
- admin/html/txt/{batch.txt → batch-product.txt} +0 -0
- admin/strings.php +10 -4
- featured-image-from-url.php +2 -2
- readme.txt +7 -7
admin/html/menu.html
CHANGED
@@ -4848,7 +4848,8 @@
|
|
4848 |
<li><a href="#tabs-6"><?php $fifu['api']['tab']['category']() ?></a></li>
|
4849 |
<li><a href="#tabs-7"><?php $fifu['api']['tab']['variable']() ?></a></li>
|
4850 |
<li><a href="#tabs-4"><?php $fifu['api']['tab']['variation']() ?></a></li>
|
4851 |
-
<li><a href="#tabs-8"><?php $fifu['api']['tab']['batch']() ?></a></li>
|
|
|
4852 |
<li><a href="#tabs-5"><?php $fifu['api']['tab']['post']() ?></a></li>
|
4853 |
<li><a href="#tabs-9"><?php $fifu['api']['tab']['documentation']() ?></a></li>
|
4854 |
</ul>
|
@@ -4880,11 +4881,17 @@
|
|
4880 |
</th>
|
4881 |
</tr>
|
4882 |
<tr>
|
4883 |
-
<th><?php $fifu['api']['endpoint']['batch']() ?></th>
|
4884 |
<th>
|
4885 |
/wp-json/wc/v3/products/batch
|
4886 |
</th>
|
4887 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
4888 |
<tr>
|
4889 |
<th><?php $fifu['api']['endpoint']['post']() ?></th>
|
4890 |
<th>
|
@@ -5069,7 +5076,14 @@
|
|
5069 |
|
5070 |
<div id="tabs-8">
|
5071 |
|
5072 |
-
<iframe src="<?php echo plugins_url() ?>/featured-image-from-url/admin/html/txt/batch.txt"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5073 |
width="100%" height="535px" ></iframe>
|
5074 |
|
5075 |
</div>
|
4848 |
<li><a href="#tabs-6"><?php $fifu['api']['tab']['category']() ?></a></li>
|
4849 |
<li><a href="#tabs-7"><?php $fifu['api']['tab']['variable']() ?></a></li>
|
4850 |
<li><a href="#tabs-4"><?php $fifu['api']['tab']['variation']() ?></a></li>
|
4851 |
+
<li><a href="#tabs-8"><?php $fifu['api']['tab']['batch-product']() ?></a></li>
|
4852 |
+
<li><a href="#tabs-10"><?php $fifu['api']['tab']['batch-category']() ?></a></li>
|
4853 |
<li><a href="#tabs-5"><?php $fifu['api']['tab']['post']() ?></a></li>
|
4854 |
<li><a href="#tabs-9"><?php $fifu['api']['tab']['documentation']() ?></a></li>
|
4855 |
</ul>
|
4881 |
</th>
|
4882 |
</tr>
|
4883 |
<tr>
|
4884 |
+
<th><?php $fifu['api']['endpoint']['batch-product']() ?></th>
|
4885 |
<th>
|
4886 |
/wp-json/wc/v3/products/batch
|
4887 |
</th>
|
4888 |
</tr>
|
4889 |
+
<tr>
|
4890 |
+
<th><?php $fifu['api']['endpoint']['batch-category']() ?></th>
|
4891 |
+
<th>
|
4892 |
+
/wp-json/wc/v3/products/categories/batch
|
4893 |
+
</th>
|
4894 |
+
</tr>
|
4895 |
<tr>
|
4896 |
<th><?php $fifu['api']['endpoint']['post']() ?></th>
|
4897 |
<th>
|
5076 |
|
5077 |
<div id="tabs-8">
|
5078 |
|
5079 |
+
<iframe src="<?php echo plugins_url() ?>/featured-image-from-url/admin/html/txt/batch-product.txt"
|
5080 |
+
width="100%" height="535px" ></iframe>
|
5081 |
+
|
5082 |
+
</div>
|
5083 |
+
|
5084 |
+
<div id="tabs-10">
|
5085 |
+
|
5086 |
+
<iframe src="<?php echo plugins_url() ?>/featured-image-from-url/admin/html/txt/batch-category.txt"
|
5087 |
width="100%" height="535px" ></iframe>
|
5088 |
|
5089 |
</div>
|
admin/html/meta-box.html
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
<table style="<?php echo $show_ignore ?>">
|
6 |
<tr>
|
7 |
<th style="width:5px">
|
8 |
-
<input type="checkbox" name="fifu_ignore_auto_set" id="fifu_ignore_auto_set">
|
9 |
</th>
|
10 |
<th>
|
11 |
<label for="fifu_ignore_auto_set" style="font-weight:normal"><?php $fifu['image']['ignore']() ?></label>
|
5 |
<table style="<?php echo $show_ignore ?>">
|
6 |
<tr>
|
7 |
<th style="width:5px">
|
8 |
+
<input type="checkbox" name="fifu_ignore_auto_set" id="fifu_ignore_auto_set" checked>
|
9 |
</th>
|
10 |
<th>
|
11 |
<label for="fifu_ignore_auto_set" style="font-weight:normal"><?php $fifu['image']['ignore']() ?></label>
|
admin/html/txt/batch-category.txt
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"create": [
|
3 |
+
{
|
4 |
+
"name": "Beach 1",
|
5 |
+
"meta_data": [
|
6 |
+
{
|
7 |
+
"key": "fifu_image_url",
|
8 |
+
"value": "https://storage.googleapis.com/fifu-paradise/10.jpg"
|
9 |
+
},
|
10 |
+
{
|
11 |
+
"key": "fifu_image_alt",
|
12 |
+
"value": "image a"
|
13 |
+
}
|
14 |
+
]
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"name": "Beach 2",
|
18 |
+
"meta_data": [
|
19 |
+
{
|
20 |
+
"key": "fifu_image_url",
|
21 |
+
"value": "https://storage.googleapis.com/fifu-paradise/11.jpg"
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"key": "fifu_image_alt",
|
25 |
+
"value": "image b"
|
26 |
+
}
|
27 |
+
]
|
28 |
+
}
|
29 |
+
]
|
30 |
+
}
|
admin/html/txt/{batch.txt → batch-product.txt}
RENAMED
File without changes
|
admin/strings.php
CHANGED
@@ -1059,8 +1059,11 @@ function fifu_get_strings_settings() {
|
|
1059 |
$fifu['api']['tab']['variation'] = function() {
|
1060 |
_e("product variation", FIFU_SLUG);
|
1061 |
};
|
1062 |
-
$fifu['api']['tab']['batch'] = function() {
|
1063 |
-
_e("batch", FIFU_SLUG);
|
|
|
|
|
|
|
1064 |
};
|
1065 |
$fifu['api']['tab']['post'] = function() {
|
1066 |
_e("post", FIFU_SLUG);
|
@@ -1077,8 +1080,11 @@ function fifu_get_strings_settings() {
|
|
1077 |
$fifu['api']['endpoint']['variation'] = function() {
|
1078 |
_e("Product variation", FIFU_SLUG);
|
1079 |
};
|
1080 |
-
$fifu['api']['endpoint']['batch'] = function() {
|
1081 |
-
_e("Batch", FIFU_SLUG);
|
|
|
|
|
|
|
1082 |
};
|
1083 |
$fifu['api']['endpoint']['post'] = function() {
|
1084 |
_e("Post", FIFU_SLUG);
|
1059 |
$fifu['api']['tab']['variation'] = function() {
|
1060 |
_e("product variation", FIFU_SLUG);
|
1061 |
};
|
1062 |
+
$fifu['api']['tab']['batch-product'] = function() {
|
1063 |
+
_e("batch product", FIFU_SLUG);
|
1064 |
+
};
|
1065 |
+
$fifu['api']['tab']['batch-category'] = function() {
|
1066 |
+
_e("batch category", FIFU_SLUG);
|
1067 |
};
|
1068 |
$fifu['api']['tab']['post'] = function() {
|
1069 |
_e("post", FIFU_SLUG);
|
1080 |
$fifu['api']['endpoint']['variation'] = function() {
|
1081 |
_e("Product variation", FIFU_SLUG);
|
1082 |
};
|
1083 |
+
$fifu['api']['endpoint']['batch-product'] = function() {
|
1084 |
+
_e("Batch product", FIFU_SLUG);
|
1085 |
+
};
|
1086 |
+
$fifu['api']['endpoint']['batch-category'] = function() {
|
1087 |
+
_e("Batch category", FIFU_SLUG);
|
1088 |
};
|
1089 |
$fifu['api']['endpoint']['post'] = function() {
|
1090 |
_e("Post", FIFU_SLUG);
|
featured-image-from-url.php
CHANGED
@@ -4,11 +4,11 @@
|
|
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: 3.8.
|
8 |
* Author: fifu.app
|
9 |
* Author URI: https://fifu.app/
|
10 |
* WC requires at least: 4.0
|
11 |
-
* WC tested up to: 6.2
|
12 |
* Text Domain: featured-image-from-url
|
13 |
* License: GPLv3
|
14 |
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
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: 3.8.7
|
8 |
* Author: fifu.app
|
9 |
* Author URI: https://fifu.app/
|
10 |
* WC requires at least: 4.0
|
11 |
+
* WC tested up to: 6.2.1
|
12 |
* Text Domain: featured-image-from-url
|
13 |
* License: GPLv3
|
14 |
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: marceljm
|
|
3 |
Donate link: https://donorbox.org/fifu
|
4 |
Tags: featured, image, url, video, woocommerce
|
5 |
Requires at least: 5.3
|
6 |
-
Tested up to: 5.9
|
7 |
-
Stable tag: 3.8.
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -227,20 +227,20 @@ Featured Image, Figurë e Zgjedhur, Image mise en avant, Uitgelichte afbeelding,
|
|
227 |
|
228 |
== Changelog ==
|
229 |
|
|
|
|
|
|
|
230 |
= 3.8.6 =
|
231 |
* Fix: Auto set featured media from post content > hide the image/video from content.
|
232 |
|
233 |
= 3.8.5 =
|
234 |
* New feature: Page Redirection; enhancement: integration with CyberSEO plugin; enhancement: integration functions return boolean now.
|
235 |
|
236 |
-
= 3.8.4 =
|
237 |
-
* Enhancement: integration with WP Automatic (supports external images in the WooCommerce gallery now); enhancement: Auto set featured media from post content > hide the image/video from content (the hidden media is also removed on page load now).
|
238 |
-
|
239 |
= others =
|
240 |
* [more](https://fifu.app/changelog)
|
241 |
|
242 |
|
243 |
== Upgrade Notice ==
|
244 |
|
245 |
-
= 3.8.
|
246 |
-
*
|
3 |
Donate link: https://donorbox.org/fifu
|
4 |
Tags: featured, image, url, video, woocommerce
|
5 |
Requires at least: 5.3
|
6 |
+
Tested up to: 5.9.1
|
7 |
+
Stable tag: 3.8.7
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
227 |
|
228 |
== Changelog ==
|
229 |
|
230 |
+
= 3.8.7 =
|
231 |
+
* Enhancement: REST API (integration with batch category); enhancement: don't get URL from post content (checked by default).
|
232 |
+
|
233 |
= 3.8.6 =
|
234 |
* Fix: Auto set featured media from post content > hide the image/video from content.
|
235 |
|
236 |
= 3.8.5 =
|
237 |
* New feature: Page Redirection; enhancement: integration with CyberSEO plugin; enhancement: integration functions return boolean now.
|
238 |
|
|
|
|
|
|
|
239 |
= others =
|
240 |
* [more](https://fifu.app/changelog)
|
241 |
|
242 |
|
243 |
== Upgrade Notice ==
|
244 |
|
245 |
+
= 3.8.7 =
|
246 |
+
* Enhancement: REST API (integration with batch category); enhancement: don't get URL from post content (checked by default).
|