Version Description
- Deprecated: Featured Shortcode.
Download this release
Release Info
Developer | marceljm |
Plugin | Featured Image From URL |
Version | 4.2.1 |
Comparing to | |
See all releases |
Code changes from version 4.2.0 to 4.2.1
- admin/db.php +1 -3
- admin/html/menu.html +0 -62
- admin/html/support-data.html +0 -1
- admin/strings.php +2 -57
- featured-image-from-url.php +1 -3
- includes/html/js/uninstall.js +5 -10
- includes/jetpack.php +1 -1
- readme.txt +6 -7
admin/db.php
CHANGED
@@ -305,7 +305,7 @@ class FifuDb {
|
|
305 |
return $this->wpdb->get_col_length($this->posts, 'guid')['length'];
|
306 |
}
|
307 |
|
308 |
-
// get last (images/videos/sliders
|
309 |
function get_last($meta_key) {
|
310 |
return $this->wpdb->get_results("
|
311 |
SELECT p.id, pm.meta_value
|
@@ -593,7 +593,6 @@ class FifuDb {
|
|
593 |
INNER JOIN " . $this->posts . " p ON pm.post_id = p.id
|
594 |
WHERE pm.meta_key = 'fifu_image_url'
|
595 |
AND pm.meta_value NOT LIKE '%https://cdn.fifu.app/%'
|
596 |
-
AND pm.meta_value <> 'https://storage.googleapis.com/featuredimagefromurl/shortcode.svg'
|
597 |
AND p.post_status <> 'trash'
|
598 |
)
|
599 |
";
|
@@ -606,7 +605,6 @@ class FifuDb {
|
|
606 |
INNER JOIN " . $this->terms . " t ON tm.term_id = t.term_id
|
607 |
WHERE tm.meta_key IN ('fifu_image_url')
|
608 |
AND tm.meta_value NOT LIKE '%https://cdn.fifu.app/%'
|
609 |
-
AND tm.meta_value <> 'https://storage.googleapis.com/featuredimagefromurl/shortcode.svg'
|
610 |
)
|
611 |
";
|
612 |
}
|
305 |
return $this->wpdb->get_col_length($this->posts, 'guid')['length'];
|
306 |
}
|
307 |
|
308 |
+
// get last (images/videos/sliders)
|
309 |
function get_last($meta_key) {
|
310 |
return $this->wpdb->get_results("
|
311 |
SELECT p.id, pm.meta_value
|
593 |
INNER JOIN " . $this->posts . " p ON pm.post_id = p.id
|
594 |
WHERE pm.meta_key = 'fifu_image_url'
|
595 |
AND pm.meta_value NOT LIKE '%https://cdn.fifu.app/%'
|
|
|
596 |
AND p.post_status <> 'trash'
|
597 |
)
|
598 |
";
|
605 |
INNER JOIN " . $this->terms . " t ON tm.term_id = t.term_id
|
606 |
WHERE tm.meta_key IN ('fifu_image_url')
|
607 |
AND tm.meta_value NOT LIKE '%https://cdn.fifu.app/%'
|
|
|
608 |
)
|
609 |
";
|
610 |
}
|
admin/html/menu.html
CHANGED
@@ -1786,21 +1786,6 @@
|
|
1786 |
on, off
|
1787 |
</th>
|
1788 |
</tr>
|
1789 |
-
<tr class="color">
|
1790 |
-
<th>
|
1791 |
-
<?php $fifu['tab']['shortcode']() ?>
|
1792 |
-
</th>
|
1793 |
-
<th>
|
1794 |
-
<?php $fifu['title']['shortcode']() ?>
|
1795 |
-
</th>
|
1796 |
-
<th></th>
|
1797 |
-
<th>
|
1798 |
-
wp fifu shortcode <toggle>
|
1799 |
-
</th>
|
1800 |
-
<th>
|
1801 |
-
on, off
|
1802 |
-
</th>
|
1803 |
-
</tr>
|
1804 |
<tr class="color">
|
1805 |
<th>
|
1806 |
<?php $fifu['tab']['social']() ?>
|
@@ -3819,53 +3804,6 @@
|
|
3819 |
<br>
|
3820 |
</div>
|
3821 |
|
3822 |
-
<div class="box">
|
3823 |
-
|
3824 |
-
<div class="fifu-pro"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all PRO features"><span class="dashicons dashicons-lock fifu-pro-icon"></span></a></div>
|
3825 |
-
<h2><?php $fifu['title']['shortcode']() ?></h2>
|
3826 |
-
|
3827 |
-
<div class="greybox" id="grad2">
|
3828 |
-
|
3829 |
-
<?php $fifu['shortcode']['desc']() ?><br/><br/>
|
3830 |
-
<div id="tabsShortcode">
|
3831 |
-
<ul>
|
3832 |
-
<li><a href="#tabs-0"><?php $fifu['shortcode']['tab']['featured']() ?></a></li>
|
3833 |
-
<li><a href="#tabs-1"><?php $fifu['shortcode']['tab']['important']() ?></a></li>
|
3834 |
-
<li><a href="#tabs-2"><?php $fifu['shortcode']['tab']['start']() ?></a></li>
|
3835 |
-
</ul>
|
3836 |
-
<div id="tabs-0">
|
3837 |
-
<table style="text-align:left">
|
3838 |
-
<tr>
|
3839 |
-
<th>
|
3840 |
-
<input
|
3841 |
-
type="submit"
|
3842 |
-
href="javascript:void(0)"
|
3843 |
-
id="fifu_toggle_shortcode"
|
3844 |
-
onclick="javascript:void(0)"
|
3845 |
-
name="fifu_toggle_shortcode"
|
3846 |
-
class="toggleoff"
|
3847 |
-
value=""
|
3848 |
-
style="display:block;border:none">
|
3849 |
-
</th>
|
3850 |
-
</tr>
|
3851 |
-
</table>
|
3852 |
-
</div>
|
3853 |
-
<div id="tabs-1">
|
3854 |
-
<?php $fifu['shortcode']['important']() ?>
|
3855 |
-
</div>
|
3856 |
-
<div id="tabs-2">
|
3857 |
-
1) <?php $fifu['shortcode']['start1']() ?> <?php $fifu['detail']['suggestion']() ?>: Shortcoder;<br>
|
3858 |
-
2) <?php $fifu['shortcode']['start2']() ?><br>
|
3859 |
-
<input style="width:70%" value="<iframe src="https://www.facebook.com/plugins/video.php?href=https%3A%2F%2Fwww.facebook.com%2Ffacebook%2Fvideos%2F10153231379946729%2F&show_text=false&width=734&height=411&appId" width="734" height="411" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true" allow="encrypted-media" allowFullScreen="true"></iframe>"></input> (<?php $fifu['shortcode']['facebook']() ?>)<br>
|
3860 |
-
<input style="width:70%" value="<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d99370.36297111909!2d-77.08461569891229!3d38.8937091395437!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x89b7c6de5af6e45b%3A0xc2524522d4885d2a!2sWashington%2C%20D.C.%2C%20Distrito%20de%20Columbia%2C%20EUA!5e0!3m2!1spt-BR!2sbr!4v1599220409491!5m2!1spt-BR!2sbr" width="600" height="450" frameborder="0" style="border:0;" allowfullscreen="" aria-hidden="false" tabindex="0"></iframe>"></input> (<?php $fifu['shortcode']['map']() ?>)<br>
|
3861 |
-
<input style="width:70%" value="<iframe src="https://open.spotify.com/embed/artist/74cb3MG0x0BOnYNW1uXYnM" width="300" height="380" frameborder="0" allowtransparency="true" allow="encrypted-media"></iframe>"></input> (<?php $fifu['shortcode']['spotify']() ?>)<br>
|
3862 |
-
3) <?php $fifu['shortcode']['start3']() ?><br>
|
3863 |
-
4) <?php $fifu['shortcode']['start4']() ?>
|
3864 |
-
</div>
|
3865 |
-
</div>
|
3866 |
-
|
3867 |
-
</div>
|
3868 |
-
</div>
|
3869 |
</div>
|
3870 |
|
3871 |
<div id="tabs-c">
|
1786 |
on, off
|
1787 |
</th>
|
1788 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1789 |
<tr class="color">
|
1790 |
<th>
|
1791 |
<?php $fifu['tab']['social']() ?>
|
3804 |
<br>
|
3805 |
</div>
|
3806 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3807 |
</div>
|
3808 |
|
3809 |
<div id="tabs-c">
|
admin/html/support-data.html
CHANGED
@@ -62,7 +62,6 @@ fifu_wc_zoom:<?php echo $enable_wc_zoom ?>;
|
|
62 |
Image:<?php echo fifu_get_last('fifu_image_url') ?>;
|
63 |
Video:<?php echo fifu_get_last('fifu_video_url') ?>;
|
64 |
Slider:<?php echo fifu_get_last('fifu_slider_image_url_0') ?>;
|
65 |
-
Shortcode:<?php echo fifu_get_last('fifu_shortcode') ?>;
|
66 |
REST routes:
|
67 |
- <?php echo get_rest_url() ?>:PHP;
|
68 |
</textarea>
|
62 |
Image:<?php echo fifu_get_last('fifu_image_url') ?>;
|
63 |
Video:<?php echo fifu_get_last('fifu_video_url') ?>;
|
64 |
Slider:<?php echo fifu_get_last('fifu_slider_image_url_0') ?>;
|
|
|
65 |
REST routes:
|
66 |
- <?php echo get_rest_url() ?>:PHP;
|
67 |
</textarea>
|
admin/strings.php
CHANGED
@@ -282,9 +282,6 @@ function fifu_get_strings_settings() {
|
|
282 |
$fifu['title']['api'] = function () {
|
283 |
_e("WP / WooCommerce REST API", FIFU_SLUG);
|
284 |
};
|
285 |
-
$fifu['title']['shortcode'] = function () {
|
286 |
-
_e("Featured Shortcode", FIFU_SLUG);
|
287 |
-
};
|
288 |
$fifu['title']['shortcodes'] = function () {
|
289 |
_e("FIFU Shortcodes", FIFU_SLUG);
|
290 |
};
|
@@ -888,7 +885,7 @@ function fifu_get_strings_settings() {
|
|
888 |
|
889 |
// delete
|
890 |
$fifu['delete']['important'] = function () {
|
891 |
-
_e("this plugin doesn't save images in the media library. It means that enabling the toggle below all post types that have an external featured image will no longer have any featured image. And you can't undo this action later. This also applies to FIFU galleries, videos,
|
892 |
};
|
893 |
$fifu['delete']['now'] = function () {
|
894 |
_e("delete all your URLs now", FIFU_SLUG);
|
@@ -1025,44 +1022,6 @@ function fifu_get_strings_settings() {
|
|
1025 |
_e("WooCommerce REST API", FIFU_SLUG);
|
1026 |
};
|
1027 |
|
1028 |
-
// shortcode
|
1029 |
-
$fifu['shortcode']['desc'] = function () {
|
1030 |
-
_e("This feature adds a field where you can input a shortcode instead of a URL. This way you could have a featured map, featured music etc.", FIFU_SLUG);
|
1031 |
-
};
|
1032 |
-
$fifu['shortcode']['important'] = function () {
|
1033 |
-
_e("FIFU has no control over your shortcode content or how your theme or plugins (or even other FIFU features) will deal with that. So normally there are style issues, except if you use a simple theme, such as Twenty Twenty. Featured Shortcode shouldn't work with page builders, lightboxes, sliders and ajax calls (the shortcode conversion happens on backend). If your theme use background-images, this feature won't work as well.", FIFU_SLUG);
|
1034 |
-
};
|
1035 |
-
$fifu['shortcode']['start1'] = function () {
|
1036 |
-
_e("install and active a shortcode plugin.", FIFU_SLUG);
|
1037 |
-
};
|
1038 |
-
$fifu['shortcode']['start2'] = function () {
|
1039 |
-
_e("create a shortcode that contains an HTML code, such as:", FIFU_SLUG);
|
1040 |
-
};
|
1041 |
-
$fifu['shortcode']['start3'] = function () {
|
1042 |
-
_e("create a new post and paste your [shortcode] into Featured Shortcode field on post editor;", FIFU_SLUG);
|
1043 |
-
};
|
1044 |
-
$fifu['shortcode']['start4'] = function () {
|
1045 |
-
_e("add a ratio (required field) and publish.", FIFU_SLUG);
|
1046 |
-
};
|
1047 |
-
$fifu['shortcode']['facebook'] = function () {
|
1048 |
-
_e("Facebook video", FIFU_SLUG);
|
1049 |
-
};
|
1050 |
-
$fifu['shortcode']['map'] = function () {
|
1051 |
-
_e("Google map", FIFU_SLUG);
|
1052 |
-
};
|
1053 |
-
$fifu['shortcode']['spotify'] = function () {
|
1054 |
-
_e("Spotify playlist", FIFU_SLUG);
|
1055 |
-
};
|
1056 |
-
$fifu['shortcode']['tab']['featured'] = function () {
|
1057 |
-
_e("Featured shortcode", FIFU_SLUG);
|
1058 |
-
};
|
1059 |
-
$fifu['shortcode']['tab']['important'] = function () {
|
1060 |
-
_e("Important", FIFU_SLUG);
|
1061 |
-
};
|
1062 |
-
$fifu['shortcode']['tab']['start'] = function () {
|
1063 |
-
_e("Getting started", FIFU_SLUG);
|
1064 |
-
};
|
1065 |
-
|
1066 |
// FIFU shortcodes
|
1067 |
$fifu['shortcodes']['desc'] = function () {
|
1068 |
_e("Add FIFU elements anywhere with a shortcode.", FIFU_SLUG);
|
@@ -1574,11 +1533,6 @@ function fifu_get_strings_meta_box() {
|
|
1574 |
_e("Featured image", FIFU_SLUG);
|
1575 |
};
|
1576 |
|
1577 |
-
// shortcode
|
1578 |
-
$fifu['shortcode']['placeholder'] = function () {
|
1579 |
-
_e("Shortcode", FIFU_SLUG);
|
1580 |
-
};
|
1581 |
-
|
1582 |
// video
|
1583 |
$fifu['video']['remove'] = function () {
|
1584 |
_e("remove external featured video", FIFU_SLUG);
|
@@ -1646,9 +1600,6 @@ function fifu_get_strings_meta_box_php() {
|
|
1646 |
$fifu['title']['post']['slider'] = function () {
|
1647 |
return __("Featured slider", FIFU_SLUG);
|
1648 |
};
|
1649 |
-
$fifu['title']['post']['shortcode'] = function () {
|
1650 |
-
return __("Featured shortcode", FIFU_SLUG);
|
1651 |
-
};
|
1652 |
$fifu['title']['post']['isbn'] = function () {
|
1653 |
return __("ISBN", FIFU_SLUG);
|
1654 |
};
|
@@ -2089,18 +2040,12 @@ function fifu_get_strings_uninstall() {
|
|
2089 |
$fifu['text']['why'] = function () {
|
2090 |
return __("Why are you deactivating FIFU?", FIFU_SLUG);
|
2091 |
};
|
2092 |
-
$fifu['text']['description'] = function () {
|
2093 |
-
return __("Description", FIFU_SLUG);
|
2094 |
-
};
|
2095 |
$fifu['text']['optional'] = function () {
|
2096 |
-
return __("optional", FIFU_SLUG);
|
2097 |
};
|
2098 |
$fifu['text']['email'] = function () {
|
2099 |
return __("Email", FIFU_SLUG);
|
2100 |
};
|
2101 |
-
$fifu['text']['support'] = function () {
|
2102 |
-
return __("We'll reply you in a few hours. 90% of issues are solved with one or two messages.", FIFU_SLUG);
|
2103 |
-
};
|
2104 |
$fifu['text']['reason']['conflict'] = function () {
|
2105 |
return __("Doesn't work with a theme, plugin or URL...", FIFU_SLUG);
|
2106 |
};
|
282 |
$fifu['title']['api'] = function () {
|
283 |
_e("WP / WooCommerce REST API", FIFU_SLUG);
|
284 |
};
|
|
|
|
|
|
|
285 |
$fifu['title']['shortcodes'] = function () {
|
286 |
_e("FIFU Shortcodes", FIFU_SLUG);
|
287 |
};
|
885 |
|
886 |
// delete
|
887 |
$fifu['delete']['important'] = function () {
|
888 |
+
_e("this plugin doesn't save images in the media library. It means that enabling the toggle below all post types that have an external featured image will no longer have any featured image. And you can't undo this action later. This also applies to FIFU galleries, videos, audios and sliders.", FIFU_SLUG);
|
889 |
};
|
890 |
$fifu['delete']['now'] = function () {
|
891 |
_e("delete all your URLs now", FIFU_SLUG);
|
1022 |
_e("WooCommerce REST API", FIFU_SLUG);
|
1023 |
};
|
1024 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1025 |
// FIFU shortcodes
|
1026 |
$fifu['shortcodes']['desc'] = function () {
|
1027 |
_e("Add FIFU elements anywhere with a shortcode.", FIFU_SLUG);
|
1533 |
_e("Featured image", FIFU_SLUG);
|
1534 |
};
|
1535 |
|
|
|
|
|
|
|
|
|
|
|
1536 |
// video
|
1537 |
$fifu['video']['remove'] = function () {
|
1538 |
_e("remove external featured video", FIFU_SLUG);
|
1600 |
$fifu['title']['post']['slider'] = function () {
|
1601 |
return __("Featured slider", FIFU_SLUG);
|
1602 |
};
|
|
|
|
|
|
|
1603 |
$fifu['title']['post']['isbn'] = function () {
|
1604 |
return __("ISBN", FIFU_SLUG);
|
1605 |
};
|
2040 |
$fifu['text']['why'] = function () {
|
2041 |
return __("Why are you deactivating FIFU?", FIFU_SLUG);
|
2042 |
};
|
|
|
|
|
|
|
2043 |
$fifu['text']['optional'] = function () {
|
2044 |
+
return __("The answer is optional", FIFU_SLUG);
|
2045 |
};
|
2046 |
$fifu['text']['email'] = function () {
|
2047 |
return __("Email", FIFU_SLUG);
|
2048 |
};
|
|
|
|
|
|
|
2049 |
$fifu['text']['reason']['conflict'] = function () {
|
2050 |
return __("Doesn't work with a theme, plugin or URL...", FIFU_SLUG);
|
2051 |
};
|
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/audio as featured image of a post or WooCommerce product.
|
7 |
-
* Version: 4.2.
|
8 |
* Author: fifu.app
|
9 |
* Author URI: https://fifu.app/
|
10 |
* WC requires at least: 4.0
|
@@ -143,10 +143,8 @@ function fifu_uninstall() {
|
|
143 |
'buttonDescriptionClean' => $strings['button']['description']['clean'](),
|
144 |
'buttonDescriptionDeactivate' => $strings['button']['description']['deactivate'](),
|
145 |
'textWhy' => $strings['text']['why'](),
|
146 |
-
'textDescription' => $strings['text']['description'](),
|
147 |
'textOptional' => $strings['text']['optional'](),
|
148 |
'textEmail' => $strings['text']['email'](),
|
149 |
-
'textSupport' => $strings['text']['support'](),
|
150 |
'textReasonConflict' => $strings['text']['reason']['conflict'](),
|
151 |
'textReasonPro' => $strings['text']['reason']['pro'](),
|
152 |
'textReasonSeo' => $strings['text']['reason']['seo'](),
|
4 |
* Plugin Name: Featured Image from URL (FIFU)
|
5 |
* Plugin URI: https://fifu.app/
|
6 |
* Description: Use an external image/video/audio as featured image of a post or WooCommerce product.
|
7 |
+
* Version: 4.2.1
|
8 |
* Author: fifu.app
|
9 |
* Author URI: https://fifu.app/
|
10 |
* WC requires at least: 4.0
|
143 |
'buttonDescriptionClean' => $strings['button']['description']['clean'](),
|
144 |
'buttonDescriptionDeactivate' => $strings['button']['description']['deactivate'](),
|
145 |
'textWhy' => $strings['text']['why'](),
|
|
|
146 |
'textOptional' => $strings['text']['optional'](),
|
147 |
'textEmail' => $strings['text']['email'](),
|
|
|
148 |
'textReasonConflict' => $strings['text']['reason']['conflict'](),
|
149 |
'textReasonPro' => $strings['text']['reason']['pro'](),
|
150 |
'textReasonSeo' => $strings['text']['reason']['seo'](),
|
includes/html/js/uninstall.js
CHANGED
@@ -2,19 +2,14 @@ jQuery(document).ready(function ($) {
|
|
2 |
jQuery('a#deactivate-featured-image-from-url').click(function (e) {
|
3 |
e.preventDefault();
|
4 |
jQuery.fancybox.open(`
|
5 |
-
<h2>${fifuUninstallVars.textWhy}</h2>
|
6 |
-
<b>${fifuUninstallVars.textDescription} (${fifuUninstallVars.textOptional})</b>
|
7 |
-
<br>
|
8 |
<textarea id="fifu-description" style="width:100%;height:135px;padding:10px;font-size:13px" placeholder="${fifuUninstallVars.textReasonConflict}
${fifuUninstallVars.textReasonPro}
${fifuUninstallVars.textReasonSeo}...
${fifuUninstallVars.textReasonLocal}
${fifuUninstallVars.textReasonUndestand}
${fifuUninstallVars.textReasonOthers}"></textarea>
|
9 |
<br><br>
|
10 |
-
<b>${fifuUninstallVars.textEmail}
|
11 |
-
<br>
|
12 |
<input id="fifu-email" style="width:100%;padding:10px;font-size:13px" placeholder="example@mail.com"></input>`
|
13 |
+
|
14 |
`
|
15 |
-
<
|
16 |
-
${fifuUninstallVars.textSupport}
|
17 |
-
</center>
|
18 |
<br>
|
19 |
<table>
|
20 |
<tr>
|
@@ -81,7 +76,7 @@ jQuery(document).ready(function ($) {
|
|
81 |
});
|
82 |
|
83 |
// activating fifu pro
|
84 |
-
jQuery('a#activate-
|
85 |
e.preventDefault();
|
86 |
|
87 |
jQuery('div#wpwrap').block({message: '', css: {backgroundColor: 'none', border: 'none', color: 'white'}});
|
@@ -95,7 +90,7 @@ jQuery(document).ready(function ($) {
|
|
95 |
xhr.setRequestHeader('X-WP-Nonce', fifuUninstallVars.nonce);
|
96 |
},
|
97 |
success: function (data) {
|
98 |
-
href = jQuery('a#activate-
|
99 |
window.location.href = href;
|
100 |
},
|
101 |
error: function (jqXHR, textStatus, errorThrown) {
|
2 |
jQuery('a#deactivate-featured-image-from-url').click(function (e) {
|
3 |
e.preventDefault();
|
4 |
jQuery.fancybox.open(`
|
5 |
+
<h2>${fifuUninstallVars.textWhy} <span style="color:red">${fifuUninstallVars.textOptional}</span></h2>
|
|
|
|
|
6 |
<textarea id="fifu-description" style="width:100%;height:135px;padding:10px;font-size:13px" placeholder="${fifuUninstallVars.textReasonConflict}
${fifuUninstallVars.textReasonPro}
${fifuUninstallVars.textReasonSeo}...
${fifuUninstallVars.textReasonLocal}
${fifuUninstallVars.textReasonUndestand}
${fifuUninstallVars.textReasonOthers}"></textarea>
|
7 |
<br><br>
|
8 |
+
<b>${fifuUninstallVars.textEmail}</b>
|
|
|
9 |
<input id="fifu-email" style="width:100%;padding:10px;font-size:13px" placeholder="example@mail.com"></input>`
|
10 |
+
|
11 |
`
|
12 |
+
<br>
|
|
|
|
|
13 |
<br>
|
14 |
<table>
|
15 |
<tr>
|
76 |
});
|
77 |
|
78 |
// activating fifu pro
|
79 |
+
jQuery('a#activate-fifu-premium').click(function (e) {
|
80 |
e.preventDefault();
|
81 |
|
82 |
jQuery('div#wpwrap').block({message: '', css: {backgroundColor: 'none', border: 'none', color: 'white'}});
|
90 |
xhr.setRequestHeader('X-WP-Nonce', fifuUninstallVars.nonce);
|
91 |
},
|
92 |
success: function (data) {
|
93 |
+
href = jQuery('a#activate-fifu-premium').attr('href');
|
94 |
window.location.href = href;
|
95 |
},
|
96 |
error: function (jqXHR, textStatus, errorThrown) {
|
includes/jetpack.php
CHANGED
@@ -31,7 +31,7 @@ function fifu_jetpack_blocked($url) {
|
|
31 |
if (fifu_is_photon_url($url))
|
32 |
return true;
|
33 |
|
34 |
-
$blocklist = array('localhost', 'amazon-adsystem.com', 'sapo.io', 'i.guim.co.uk', 's.yimg.com', 's1.yimg.com', 'www.washingtonpost.com', 'pbs.twimg.com', 'www.aljazeera.com', 'image.influenster.com', 'api.screenshotmachine.com', 'rackcdn.com', 'googleusercontent.com', 'drive.google.com', 'img.brownsfashion.com', 'accounts.parrotproducts.biz', 'www.dropbox.com', 'fbcdn.net', 'teespring.com', 'nitrocdn.com', 'cdn.fifu.app', 'cloud.fifu.app', 'images.placeholders.dev');
|
35 |
foreach ($blocklist as $domain) {
|
36 |
if (strpos($url, $domain) !== false)
|
37 |
return true;
|
31 |
if (fifu_is_photon_url($url))
|
32 |
return true;
|
33 |
|
34 |
+
$blocklist = array('localhost', 'amazon-adsystem.com', 'sapo.io', 'i.guim.co.uk', 's.yimg.com', 's1.yimg.com', 'www.washingtonpost.com', 'pbs.twimg.com', 'www.aljazeera.com', 'image.influenster.com', 'api.screenshotmachine.com', 'rackcdn.com', 'googleusercontent.com', 'drive.google.com', 'img.brownsfashion.com', 'accounts.parrotproducts.biz', 'www.dropbox.com', 'fbcdn.net', 'teespring.com', 'nitrocdn.com', 'img.youtube.com', 'cdn.fifu.app', 'cloud.fifu.app', 'images.placeholders.dev');
|
35 |
foreach ($blocklist as $domain) {
|
36 |
if (strpos($url, $domain) !== false)
|
37 |
return true;
|
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.1.2
|
7 |
-
Stable tag: 4.2.
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -117,7 +117,6 @@ Supports videos from YouTube, Vimeo, Imgur, 9GAG, Cloudinary, Tumblr, Publitio,
|
|
117 |
* **[PRO]** Quick edit
|
118 |
* **[PRO]** Featured audio
|
119 |
* **[PRO]** Featured slider
|
120 |
-
* **[PRO]** Featured shortcode
|
121 |
* **[PRO]** FIFU shortcodes
|
122 |
|
123 |
#### INTEGRATION FUNCTION FOR DEVELOPERS
|
@@ -259,20 +258,20 @@ Featured Image, Figurë e Zgjedhur, Image mise en avant, Uitgelichte afbeelding,
|
|
259 |
|
260 |
== Changelog ==
|
261 |
|
|
|
|
|
|
|
262 |
= 4.2.0 =
|
263 |
* Enhancement: integration with BEAR Bulk Editor plugin; fix: deactivation lightbox (conflict with BudyBoss plugin); fix: WooCommerce HPOS incompatibility message; deprecated: Hover Effects.
|
264 |
|
265 |
= 4.1.9 =
|
266 |
* New option: Auto set featured media from post content > post types; enhancement: Featured Video (supports Odysee videos now); fix: CDN + Optimized Thumbnails > apply to content images (low resolution images); deprecated: Gallery Icon.
|
267 |
|
268 |
-
= 4.1.8 =
|
269 |
-
* Enhancement: Page Redirection (works with local images now); fix: conflict with Search Filter Pro plugin; deprecated: Media RSS Tags > Width; deprecated: Schedule Metadata Generation > Interval; deprecated: Delete All URLs > Confirm.
|
270 |
-
|
271 |
= others =
|
272 |
* [more](https://fifu.app/changelog)
|
273 |
|
274 |
|
275 |
== Upgrade Notice ==
|
276 |
|
277 |
-
= 4.2.
|
278 |
-
*
|
4 |
Tags: featured, image, url, video, woocommerce
|
5 |
Requires at least: 5.3
|
6 |
Tested up to: 6.1.2
|
7 |
+
Stable tag: 4.2.1
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
117 |
* **[PRO]** Quick edit
|
118 |
* **[PRO]** Featured audio
|
119 |
* **[PRO]** Featured slider
|
|
|
120 |
* **[PRO]** FIFU shortcodes
|
121 |
|
122 |
#### INTEGRATION FUNCTION FOR DEVELOPERS
|
258 |
|
259 |
== Changelog ==
|
260 |
|
261 |
+
= 4.2.1 =
|
262 |
+
* Deprecated: Featured Shortcode.
|
263 |
+
|
264 |
= 4.2.0 =
|
265 |
* Enhancement: integration with BEAR Bulk Editor plugin; fix: deactivation lightbox (conflict with BudyBoss plugin); fix: WooCommerce HPOS incompatibility message; deprecated: Hover Effects.
|
266 |
|
267 |
= 4.1.9 =
|
268 |
* New option: Auto set featured media from post content > post types; enhancement: Featured Video (supports Odysee videos now); fix: CDN + Optimized Thumbnails > apply to content images (low resolution images); deprecated: Gallery Icon.
|
269 |
|
|
|
|
|
|
|
270 |
= others =
|
271 |
* [more](https://fifu.app/changelog)
|
272 |
|
273 |
|
274 |
== Upgrade Notice ==
|
275 |
|
276 |
+
= 4.2.1 =
|
277 |
+
* Deprecated: Featured Shortcode.
|