Featured Image From URL - Version 2.2.2

Version Description

  • Bug fix: support dialog (click here button).
Download this release

Release Info

Developer marceljm
Plugin Icon 128x128 Featured Image From URL
Version 2.2.2
Comparing to
See all releases

Code changes from version 2.2.1 to 2.2.2

admin/html/menu.html CHANGED
@@ -806,51 +806,50 @@
806
  <br>
807
 
808
  <div id="accordionClean">
809
-
810
- <h3>&nbsp;&nbsp;&nbsp;meta data generation</h3>
811
  <div>
812
  <form
813
- id="fifu_form_data_generation"
814
  action="javascript:void(0)"
815
  method="post">
816
  <input
817
  type="image"
818
  href="javascript:void(0)"
819
- id="fifu_toggle_data_generation"
820
- onclick="invert('data_generation')"
821
- name="fifu_toggle_data_generation"
822
- class="<?php echo $enable_data_generation; ?>"
823
  value=""
824
  style="display:block">
825
 
826
  <input
827
  type="hidden"
828
- id="fifu_input_data_generation"
829
- name="fifu_input_data_generation"
830
  value="" >
831
  </form>
832
  </div>
833
 
834
- <h3>&nbsp;&nbsp;&nbsp;clean meta data</h3>
835
  <div>
836
  <form
837
- id="fifu_form_data_clean"
838
  action="javascript:void(0)"
839
  method="post">
840
  <input
841
  type="image"
842
  href="javascript:void(0)"
843
- id="fifu_toggle_data_clean"
844
- onclick="invert('data_clean')"
845
- name="fifu_toggle_data_clean"
846
- class="<?php echo $enable_data_clean; ?>"
847
  value=""
848
  style="display:block">
849
 
850
  <input
851
  type="hidden"
852
- id="fifu_input_data_clean"
853
- name="fifu_input_data_clean"
854
  value="" >
855
  </form>
856
  </div>
@@ -1974,21 +1973,15 @@
1974
  </div>
1975
  <div id="tabs-d">
1976
  <div class="box">
1977
- <h2>Report a Bug / Suggest an Improvement</h2>
1978
- <div class="greybox">
1979
- Send an email to <b><a href="mailto:marcel@featuredimagefromurl.com">marcel@featuredimagefromurl.com</a></b>. If you are reporting a bug, first <b><button id="opener">click here</button></b> and send me this dialog data, please.
1980
- </div>
1981
- </div>
1982
- <div class="box">
1983
- <h2>Give FIFU a 5-star rating <a href="https://wordpress.org/support/view/plugin-reviews/featured-image-from-url?filter=5" target="_blank"><img style="position:relative;top:10px" src="https://c2.staticflickr.com/8/7859/44681400660_3ee78cc155_o_d.png"></a></h2>
1984
  <div class="greybox">
1985
- It helps me to keep the support and this FREE version alive.
1986
  </div>
1987
  </div>
1988
  <div class="box">
1989
- <h2>Help</h2>
1990
  <div class="greybox">
1991
- For more information, refer to <a href="https://wordpress.org/plugins/featured-image-from-url/faq/" target="_blank">FAQ</a> and <a href="https://wordpress.org/plugins/featured-image-from-url/screenshots/" target="_blank">screenshots</a>.
1992
  </div>
1993
  </div>
1994
  </div>
@@ -1997,7 +1990,7 @@
1997
 
1998
  <div id="dialog" title="About">
1999
  <textarea id="bar" style="width:600px;height:500px;resize:none;" readonly>
2000
- <?php echo (get_plugin_data(FIFU_PLUGIN_DIR.'featured-image-from-url.php') ? get_plugin_data(FIFU_PLUGIN_DIR.'featured-image-from-url.php')['Name']:'') ?>:<?php echo (get_plugin_data(FIFU_PLUGIN_DIR.'featured-image-from-url.php') ? get_plugin_data(FIFU_PLUGIN_DIR.'featured-image-from-url.php')['Version']:'') ?>;
2001
  Site:<?php echo get_home_url() ?>;
2002
  Theme:<?php echo wp_get_theme() ?>;
2003
  PHP:<?php echo phpversion() ?>;
806
  <br>
807
 
808
  <div id="accordionClean">
809
+ <h3>&nbsp;&nbsp;&nbsp;clean meta data</h3>
 
810
  <div>
811
  <form
812
+ id="fifu_form_data_clean"
813
  action="javascript:void(0)"
814
  method="post">
815
  <input
816
  type="image"
817
  href="javascript:void(0)"
818
+ id="fifu_toggle_data_clean"
819
+ onclick="invert('data_clean')"
820
+ name="fifu_toggle_data_clean"
821
+ class="<?php echo $enable_data_clean; ?>"
822
  value=""
823
  style="display:block">
824
 
825
  <input
826
  type="hidden"
827
+ id="fifu_input_data_clean"
828
+ name="fifu_input_data_clean"
829
  value="" >
830
  </form>
831
  </div>
832
 
833
+ <h3>&nbsp;&nbsp;&nbsp;meta data generation</h3>
834
  <div>
835
  <form
836
+ id="fifu_form_data_generation"
837
  action="javascript:void(0)"
838
  method="post">
839
  <input
840
  type="image"
841
  href="javascript:void(0)"
842
+ id="fifu_toggle_data_generation"
843
+ onclick="invert('data_generation')"
844
+ name="fifu_toggle_data_generation"
845
+ class="<?php echo $enable_data_generation; ?>"
846
  value=""
847
  style="display:block">
848
 
849
  <input
850
  type="hidden"
851
+ id="fifu_input_data_generation"
852
+ name="fifu_input_data_generation"
853
  value="" >
854
  </form>
855
  </div>
1973
  </div>
1974
  <div id="tabs-d">
1975
  <div class="box">
1976
+ <h2>Fast Support</h2>
 
 
 
 
 
 
1977
  <div class="greybox">
1978
+ If you need any help, you can refer to <a href="https://wordpress.org/plugins/featured-image-from-url/faq/" target="_blank">FAQ</a> and <a href="https://wordpress.org/plugins/featured-image-from-url/screenshots/" target="_blank">screenshots</a> or send an email to <b>marcel@featuredimagefromurl.com</b>
1979
  </div>
1980
  </div>
1981
  <div class="box">
1982
+ <h2>Report a Bug </h2>
1983
  <div class="greybox">
1984
+ If you are reporting a bug, <b><button id="opener">click here</button></b> and send this dialog data to the email above, please.
1985
  </div>
1986
  </div>
1987
  </div>
1990
 
1991
  <div id="dialog" title="About">
1992
  <textarea id="bar" style="width:600px;height:500px;resize:none;" readonly>
1993
+ <?php echo fifu_version() ?>;
1994
  Site:<?php echo get_home_url() ?>;
1995
  Theme:<?php echo wp_get_theme() ?>;
1996
  PHP:<?php echo phpversion() ?>;
admin/html/meta-box.html CHANGED
@@ -47,9 +47,8 @@
47
 
48
 
49
  <div style="<?php echo $show_news ?>">
50
- <hr>
51
  <p style="font-size: 12px; padding: 10px; border-left: 3px solid red; color: black;
52
- background-color: whitesmoke; border-radius: 100px 5px;">Please report any problem to <a href="mailto:marcel@featuredimagefromurl.com">marcel@featuredimagefromurl.com</a></p>
53
  <!--p style="font-size: 12px; padding: 5px; border-left: 6px solid red; color: black;
54
  background-color: #eee; border-radius: 25px 5px;">Please report any problem to <a href="mailto:marcel@featuredimagefromurl.com">marcel@featuredimagefromurl.com</a></p-->
55
  <!--p style="font-size: 12px; padding: 5px; border-left: 6px solid #b20ab8; color: black;
47
 
48
 
49
  <div style="<?php echo $show_news ?>">
 
50
  <p style="font-size: 12px; padding: 10px; border-left: 3px solid red; color: black;
51
+ background-color: whitesmoke; border-radius: 100px 5px; position: relative; top: 10px">Please report any problem to <a href="mailto:marcel@featuredimagefromurl.com">marcel@featuredimagefromurl.com</a><br>It should be fixed in 24 hours.</p>
52
  <!--p style="font-size: 12px; padding: 5px; border-left: 6px solid red; color: black;
53
  background-color: #eee; border-radius: 25px 5px;">Please report any problem to <a href="mailto:marcel@featuredimagefromurl.com">marcel@featuredimagefromurl.com</a></p-->
54
  <!--p style="font-size: 12px; padding: 5px; border-left: 6px solid #b20ab8; color: black;
admin/menu.php CHANGED
@@ -361,3 +361,8 @@ function fifu_delete_default_url() {
361
  $wpdb->delete($table_postmeta, $where);
362
  }
363
 
 
 
 
 
 
361
  $wpdb->delete($table_postmeta, $where);
362
  }
363
 
364
+ function fifu_version() {
365
+ $plugin_data = get_plugin_data(FIFU_PLUGIN_DIR . 'featured-image-from-url.php');
366
+ return $plugin_data ? $plugin_data['Name'] . ':' . $plugin_data['Version'] : '';
367
+ }
368
+
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.2.1
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.2.2
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.2.1 =
165
  * Improvement: supports URLs up to 2048 characters now.
166
 
@@ -494,6 +497,9 @@ was removed. To finish, a Premium version is now been presented.
494
 
495
  == Upgrade Notice ==
496
 
 
 
 
497
  = 2.2.1 =
498
  * Improvement: supports URLs up to 2048 characters now.
499
 
161
 
162
  == Changelog ==
163
 
164
+ = 2.2.2 =
165
+ * Bug fix: support dialog (click here button).
166
+
167
  = 2.2.1 =
168
  * Improvement: supports URLs up to 2048 characters now.
169
 
497
 
498
  == Upgrade Notice ==
499
 
500
+ = 2.2.2 =
501
+ * Bug fix: support dialog (click here button).
502
+
503
  = 2.2.1 =
504
  * Improvement: supports URLs up to 2048 characters now.
505