Version Description
- Fix: Auto Set Image Title (AUTO-DRAFT value was being saved for products without title).
Download this release
Release Info
Developer | marceljm |
Plugin | Featured Image From URL |
Version | 4.0.5 |
Comparing to | |
See all releases |
Code changes from version 4.0.4 to 4.0.5
- admin/html/cloud.html +2 -4
- admin/meta-box.php +2 -1
- admin/strings.php +0 -3
- featured-image-from-url.php +1 -1
- readme.txt +7 -7
admin/html/cloud.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
<div class="header-box">
|
4 |
<h1 style="color:white;padding-left:20px;width:98%;font-family:Ubuntu,sans-serif">
|
5 |
-
<span class="dashicons dashicons-cloud-upload" style="font-size:30px"></span><span style="padding-left:20px">FIFU
|
6 |
<a href="https://gcpsignup.page.link/1J6G" target="_blank"><img class="fifu-google-cloud" src="https://storage.googleapis.com/featuredimagefromurl/power-by-gcp2.png"/></a>
|
7 |
</h1>
|
8 |
</div>
|
@@ -155,7 +155,7 @@
|
|
155 |
|
156 |
<div class="box">
|
157 |
<h2>
|
158 |
-
<i class="fas fa-money-bill-alt"></i> <?php $fifucloud['title']['price']() ?>
|
159 |
</h2>
|
160 |
<div class="greybox">
|
161 |
<?php $fifucloud['pricing']['desc']() ?>
|
@@ -319,8 +319,6 @@
|
|
319 |
</tr>
|
320 |
</table> -->
|
321 |
</div>
|
322 |
-
<br>
|
323 |
-
¹ <?php $fifucloud['pricing']['table']['ps']() ?>
|
324 |
</div>
|
325 |
</div>
|
326 |
|
2 |
|
3 |
<div class="header-box">
|
4 |
<h1 style="color:white;padding-left:20px;width:98%;font-family:Ubuntu,sans-serif">
|
5 |
+
<span class="dashicons dashicons-cloud-upload" style="font-size:30px"></span><span style="padding-left:20px">FIFU </span> <span style="color:orange">Cloud</span>
|
6 |
<a href="https://gcpsignup.page.link/1J6G" target="_blank"><img class="fifu-google-cloud" src="https://storage.googleapis.com/featuredimagefromurl/power-by-gcp2.png"/></a>
|
7 |
</h1>
|
8 |
</div>
|
155 |
|
156 |
<div class="box">
|
157 |
<h2>
|
158 |
+
<i class="fas fa-money-bill-alt"></i> <?php $fifucloud['title']['price']() ?>
|
159 |
</h2>
|
160 |
<div class="greybox">
|
161 |
<?php $fifucloud['pricing']['desc']() ?>
|
319 |
</tr>
|
320 |
</table> -->
|
321 |
</div>
|
|
|
|
|
322 |
</div>
|
323 |
</div>
|
324 |
|
admin/meta-box.php
CHANGED
@@ -190,7 +190,8 @@ function fifu_save_properties($post_id) {
|
|
190 |
/* alt */
|
191 |
if (isset($_POST['fifu_input_alt'])) {
|
192 |
$alt = wp_strip_all_tags($_POST['fifu_input_alt']);
|
193 |
-
$
|
|
|
194 |
fifu_update_or_delete_value($post_id, 'fifu_image_alt', $alt);
|
195 |
}
|
196 |
|
190 |
/* alt */
|
191 |
if (isset($_POST['fifu_input_alt'])) {
|
192 |
$alt = wp_strip_all_tags($_POST['fifu_input_alt']);
|
193 |
+
$post_title = get_the_title();
|
194 |
+
$alt = !$alt && $url && fifu_is_on('fifu_auto_alt') && $post_title != 'AUTO-DRAFT' ? $post_title : $alt;
|
195 |
fifu_update_or_delete_value($post_id, 'fifu_image_alt', $alt);
|
196 |
}
|
197 |
|
admin/strings.php
CHANGED
@@ -2029,9 +2029,6 @@ function fifu_get_strings_cloud() {
|
|
2029 |
$fifu['pricing']['table']['total'] = function() {
|
2030 |
_e("Total price");
|
2031 |
};
|
2032 |
-
$fifu['pricing']['table']['ps'] = function() {
|
2033 |
-
_e("FIFU Cloud cannot be a free service as it relies on several paid cloud services, such as storage, processing, caching, delivery, etc. However, its architecture was designed to optimize the use of these resources and, consequently, offer the lowest price (which is possibly not the current price). Our service is being launched now, in June 2022, and only after a few months of operation we will have a real understanding of operating costs, being able to offer fairer prices, especially for those who have more images. With enough monetization, it is possible that pro features of this plugin can become free. Who knows?=)");
|
2034 |
-
};
|
2035 |
|
2036 |
// upload
|
2037 |
$fifu['upload']['desc'] = function() {
|
2029 |
$fifu['pricing']['table']['total'] = function() {
|
2030 |
_e("Total price");
|
2031 |
};
|
|
|
|
|
|
|
2032 |
|
2033 |
// upload
|
2034 |
$fifu['upload']['desc'] = function() {
|
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.5
|
8 |
* Author: fifu.app
|
9 |
* Author URI: https://fifu.app/
|
10 |
* WC requires at least: 4.0
|
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 |
|
@@ -129,7 +129,7 @@ Supports videos from YouTube, Vimeo, Imgur, 9GAG, Cloudinary, Tumblr, Publitio,
|
|
129 |
* **[PRO]** fifu_dev_set_category_image($term_id, $image_url)
|
130 |
* **[PRO]** fifu_dev_set_category_video($term_id, $video_url)
|
131 |
|
132 |
-
#### FIFU CLOUD
|
133 |
|
134 |
* Cloud storage (never lose an image again)
|
135 |
* Global CDN (images loaded much faster)
|
@@ -257,20 +257,20 @@ Featured Image, Figurë e Zgjedhur, Image mise en avant, Uitgelichte afbeelding,
|
|
257 |
|
258 |
== Changelog ==
|
259 |
|
|
|
|
|
|
|
260 |
= 4.0.4 =
|
261 |
* 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).
|
262 |
|
263 |
= 4.0.3 =
|
264 |
* New FIFU Shortcode: for featured slider.
|
265 |
|
266 |
-
= 4.0.2 =
|
267 |
-
* New option: FIFU Product Gallery > videos before images; fix: Default Featured Image > Post types; FIFU Cloud: more details about how it can improve or replace other plugin features.
|
268 |
-
|
269 |
= others =
|
270 |
* [more](https://fifu.app/changelog)
|
271 |
|
272 |
|
273 |
== Upgrade Notice ==
|
274 |
|
275 |
-
= 4.0.
|
276 |
-
*
|
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.5
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
129 |
* **[PRO]** fifu_dev_set_category_image($term_id, $image_url)
|
130 |
* **[PRO]** fifu_dev_set_category_video($term_id, $video_url)
|
131 |
|
132 |
+
#### FIFU CLOUD
|
133 |
|
134 |
* Cloud storage (never lose an image again)
|
135 |
* Global CDN (images loaded much faster)
|
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.5 =
|
276 |
+
* Fix: Auto Set Image Title (AUTO-DRAFT value was being saved for products without title).
|