Featured Image From URL - Version 3.0.4

Version Description

  • Critical bug fix: conflict between Social Tags feature and the latest Yoast SEO plugin version on post editor (Updating failed error); New option (Premium): thumbnail height (crop the top and bottom margins from video image thumbnails); New option: only image tags (disable title and description social tags); Bug fix: rest routes (some features not working in sites with https problems); Bug fix: metadata features (problems due URLs with illegal characters).
Download this release

Release Info

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

Code changes from version 3.0.3 to 3.0.4

admin/html/js/rest-route.js CHANGED
@@ -9,7 +9,18 @@ function fifu_get_rest_url() {
9
  out = data;
10
  },
11
  error: function (jqXHR, textStatus, errorThrown) {
12
- error = true;
 
 
 
 
 
 
 
 
 
 
 
13
  }
14
  });
15
  if (error) {
@@ -21,6 +32,18 @@ function fifu_get_rest_url() {
21
  out = data;
22
  },
23
  error: function (jqXHR, textStatus, errorThrown) {
 
 
 
 
 
 
 
 
 
 
 
 
24
  }
25
  });
26
  }
9
  out = data;
10
  },
11
  error: function (jqXHR, textStatus, errorThrown) {
12
+ protocol = fifuScriptVars.homeUrl.includes('http:') ? 'https:' : 'http:';
13
+ jQuery.ajax({
14
+ method: "POST",
15
+ url: fifuScriptVars.homeUrl.replace(/[^:]+:/, protocol) + '/wp-json/featured-image-from-url/v2/rest_url_api/',
16
+ async: false,
17
+ success: function (data) {
18
+ out = data;
19
+ },
20
+ error: function (jqXHR, textStatus, errorThrown) {
21
+ error = true;
22
+ }
23
+ });
24
  }
25
  });
26
  if (error) {
32
  out = data;
33
  },
34
  error: function (jqXHR, textStatus, errorThrown) {
35
+ protocol = fifuScriptVars.homeUrl.includes('http:') ? 'https:' : 'http:';
36
+ jQuery.ajax({
37
+ method: "POST",
38
+ url: fifuScriptVars.homeUrl.replace(/[^:]+:/, protocol) + '?rest_route=/featured-image-from-url/v2/rest_url_api/',
39
+ async: false,
40
+ success: function (data) {
41
+ out = data;
42
+ },
43
+ error: function (jqXHR, textStatus, errorThrown) {
44
+ error = true;
45
+ }
46
+ });
47
  }
48
  });
49
  }
admin/html/menu.html CHANGED
@@ -1694,6 +1694,18 @@
1694
  <br>
1695
  <input type="submit" value="OK" style="width:85px" disabled>
1696
  </th>
 
 
 
 
 
 
 
 
 
 
 
 
1697
  <th>
1698
  <br>
1699
  <input
@@ -1961,25 +1973,64 @@
1961
  Featured Image from URL provides social tags to share the external images on the social networks. Here you can enable/disable this feature.
1962
  </div>
1963
  <br>
1964
- <form
1965
- id="fifu_form_social"
1966
- action="javascript:void(0)"
1967
- method="post">
1968
- <input
1969
- type="submit"
1970
- href="javascript:void(0)"
1971
- id="fifu_toggle_social"
1972
- onclick="invert('social')"
1973
- name="fifu_toggle_social"
1974
- class="<?php echo $enable_social; ?>"
1975
- value=""
1976
- style="display:block;border:none">
1977
- <input
1978
- type="hidden"
1979
- id="fifu_input_social"
1980
- name="fifu_input_social"
1981
- value="" >
1982
- </form>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1983
  </div>
1984
  </div>
1985
  <div id="tabs-i">
1694
  <br>
1695
  <input type="submit" value="OK" style="width:85px" disabled>
1696
  </th>
1697
+ <th>
1698
+ thumbnail height
1699
+ <br>
1700
+ <input
1701
+ id="fifu_form_video_height"
1702
+ type="text"
1703
+ name="fifu_input_video_height"
1704
+ value=""
1705
+ style="width:85px">
1706
+ <br>
1707
+ <input type="submit" value="OK" style="width:85px" disabled>
1708
+ </th>
1709
  <th>
1710
  <br>
1711
  <input
1973
  Featured Image from URL provides social tags to share the external images on the social networks. Here you can enable/disable this feature.
1974
  </div>
1975
  <br>
1976
+ <table style="text-align:left">
1977
+ <tr>
1978
+ <th>
1979
+ <form
1980
+ id="fifu_form_social"
1981
+ action="javascript:void(0)"
1982
+ method="post">
1983
+
1984
+ <input
1985
+ type="submit"
1986
+ href="javascript:void(0)"
1987
+ id="fifu_toggle_social"
1988
+ onclick="invert('social')"
1989
+ name="fifu_toggle_social"
1990
+ class="<?php echo $enable_social; ?>"
1991
+ value=""
1992
+ style="display:block;border:none">
1993
+
1994
+ <input
1995
+ type="hidden"
1996
+ id="fifu_input_social"
1997
+ name="fifu_input_social"
1998
+ value="" >
1999
+ </form>
2000
+ </th>
2001
+ <th>
2002
+ add social tags
2003
+ </th>
2004
+ </tr>
2005
+ <tr>
2006
+ <th>
2007
+ <form
2008
+ id="fifu_form_social_image_only"
2009
+ action="javascript:void(0)"
2010
+ method="post">
2011
+
2012
+ <input
2013
+ type="submit"
2014
+ href="javascript:void(0)"
2015
+ id="fifu_toggle_social_image_only"
2016
+ onclick="invert('social_image_only')"
2017
+ name="fifu_toggle_social_image_only"
2018
+ class="<?php echo $enable_social_image_only; ?>"
2019
+ value=""
2020
+ style="display:block;border:none">
2021
+
2022
+ <input
2023
+ type="hidden"
2024
+ id="fifu_input_social_image_only"
2025
+ name="fifu_input_social_image_only"
2026
+ value="" >
2027
+ </form>
2028
+ </th>
2029
+ <th>
2030
+ only image tags
2031
+ </th>
2032
+ </tr>
2033
+ </table>
2034
  </div>
2035
  </div>
2036
  <div id="tabs-i">
admin/html/support-data.html CHANGED
@@ -69,6 +69,7 @@ fifu_save_dimensions:<?php echo $enable_save_dimensions ?>;
69
  fifu_save_dimensions_all:<?php echo $enable_save_dimensions_all ?>;
70
  fifu_save_dimensions_redirect:<?php echo $enable_save_dimensions_redirect ?>;
71
  fifu_social:<?php echo $enable_social ?>;
 
72
  fifu_spinner_db:<?php echo $max_db ?>;
73
  fifu_spinner_nth:<?php echo $nth_image ?>;
74
  fifu_wc_lbox:<?php echo $enable_wc_lbox ?>;
69
  fifu_save_dimensions_all:<?php echo $enable_save_dimensions_all ?>;
70
  fifu_save_dimensions_redirect:<?php echo $enable_save_dimensions_redirect ?>;
71
  fifu_social:<?php echo $enable_social ?>;
72
+ fifu_social_image_only:<?php echo $enable_social_image_only ?>;
73
  fifu_spinner_db:<?php echo $max_db ?>;
74
  fifu_spinner_nth:<?php echo $nth_image ?>;
75
  fifu_wc_lbox:<?php echo $enable_wc_lbox ?>;
admin/menu.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- define('FIFU_SETTINGS', serialize(array('fifu_social', 'fifu_original', 'fifu_lazy', 'fifu_jquery', 'fifu_media_library', 'fifu_content', 'fifu_content_page', 'fifu_enable_default_url', 'fifu_spinner_db', 'fifu_spinner_nth', 'fifu_fake', 'fifu_css', 'fifu_default_url', 'fifu_wc_lbox', 'fifu_wc_zoom', 'fifu_hide_page', 'fifu_hide_post', 'fifu_hide_cpt', 'fifu_class', 'fifu_get_first', 'fifu_pop_first', 'fifu_ovw_first', 'fifu_query_strings', 'fifu_confirm_delete_all', 'fifu_run_delete_all', 'fifu_column_height', 'fifu_grid_category', 'fifu_auto_alt', 'fifu_dynamic_alt', 'fifu_data_clean', 'fifu_image_height_shop', 'fifu_image_width_shop', 'fifu_image_height_prod', 'fifu_image_width_prod', 'fifu_image_height_cart', 'fifu_image_width_cart', 'fifu_image_height_ctgr', 'fifu_image_width_ctgr', 'fifu_image_height_arch', 'fifu_image_width_arch', 'fifu_image_height_home', 'fifu_image_width_home', 'fifu_image_height_page', 'fifu_image_width_page', 'fifu_image_height_post', 'fifu_image_width_post', 'fifu_save_dimensions', 'fifu_save_dimensions_redirect', 'fifu_save_dimensions_all', 'fifu_clean_dimensions_all')));
4
 
5
  add_action('admin_menu', 'fifu_insert_menu');
6
 
@@ -35,6 +35,7 @@ function fifu_support_data() {
35
  ]);
36
 
37
  $enable_social = get_option('fifu_social');
 
38
  $enable_original = get_option('fifu_original');
39
  $enable_lazy = get_option('fifu_lazy');
40
  $enable_jquery = get_option('fifu_jquery');
@@ -105,6 +106,7 @@ function fifu_get_menu_html() {
105
  ]);
106
 
107
  $enable_social = get_option('fifu_social');
 
108
  $enable_original = get_option('fifu_original');
109
  $enable_lazy = get_option('fifu_lazy');
110
  $enable_jquery = get_option('fifu_jquery');
@@ -187,7 +189,7 @@ function fifu_get_setting($type) {
187
  $arr100 = array('fifu_spinner_db');
188
  $arrOn = array('fifu_auto_alt', 'fifu_wc_zoom', 'fifu_wc_lbox');
189
  $arrOnNo = array('fifu_fake', 'fifu_social');
190
- $arrOffNo = array('fifu_data_clean', 'fifu_confirm_delete_all', 'fifu_run_delete_all');
191
 
192
  if (!get_option($type)) {
193
  if (in_array($type, $arrEmpty))
@@ -213,6 +215,7 @@ function fifu_get_setting($type) {
213
 
214
  function fifu_update_menu_options() {
215
  fifu_update_option('fifu_input_social', 'fifu_social');
 
216
  fifu_update_option('fifu_input_original', 'fifu_original');
217
  fifu_update_option('fifu_input_lazy', 'fifu_lazy');
218
  fifu_update_option('fifu_input_jquery', 'fifu_jquery');
1
  <?php
2
 
3
+ define('FIFU_SETTINGS', serialize(array('fifu_social', 'fifu_social_image_only', 'fifu_original', 'fifu_lazy', 'fifu_jquery', 'fifu_media_library', 'fifu_content', 'fifu_content_page', 'fifu_enable_default_url', 'fifu_spinner_db', 'fifu_spinner_nth', 'fifu_fake', 'fifu_css', 'fifu_default_url', 'fifu_wc_lbox', 'fifu_wc_zoom', 'fifu_hide_page', 'fifu_hide_post', 'fifu_hide_cpt', 'fifu_class', 'fifu_get_first', 'fifu_pop_first', 'fifu_ovw_first', 'fifu_query_strings', 'fifu_confirm_delete_all', 'fifu_run_delete_all', 'fifu_column_height', 'fifu_grid_category', 'fifu_auto_alt', 'fifu_dynamic_alt', 'fifu_data_clean', 'fifu_image_height_shop', 'fifu_image_width_shop', 'fifu_image_height_prod', 'fifu_image_width_prod', 'fifu_image_height_cart', 'fifu_image_width_cart', 'fifu_image_height_ctgr', 'fifu_image_width_ctgr', 'fifu_image_height_arch', 'fifu_image_width_arch', 'fifu_image_height_home', 'fifu_image_width_home', 'fifu_image_height_page', 'fifu_image_width_page', 'fifu_image_height_post', 'fifu_image_width_post', 'fifu_save_dimensions', 'fifu_save_dimensions_redirect', 'fifu_save_dimensions_all', 'fifu_clean_dimensions_all')));
4
 
5
  add_action('admin_menu', 'fifu_insert_menu');
6
 
35
  ]);
36
 
37
  $enable_social = get_option('fifu_social');
38
+ $enable_social_image_only = get_option('fifu_social_image_only');
39
  $enable_original = get_option('fifu_original');
40
  $enable_lazy = get_option('fifu_lazy');
41
  $enable_jquery = get_option('fifu_jquery');
106
  ]);
107
 
108
  $enable_social = get_option('fifu_social');
109
+ $enable_social_image_only = get_option('fifu_social_image_only');
110
  $enable_original = get_option('fifu_original');
111
  $enable_lazy = get_option('fifu_lazy');
112
  $enable_jquery = get_option('fifu_jquery');
189
  $arr100 = array('fifu_spinner_db');
190
  $arrOn = array('fifu_auto_alt', 'fifu_wc_zoom', 'fifu_wc_lbox');
191
  $arrOnNo = array('fifu_fake', 'fifu_social');
192
+ $arrOffNo = array('fifu_data_clean', 'fifu_confirm_delete_all', 'fifu_run_delete_all', 'fifu_social_image_only');
193
 
194
  if (!get_option($type)) {
195
  if (in_array($type, $arrEmpty))
215
 
216
  function fifu_update_menu_options() {
217
  fifu_update_option('fifu_input_social', 'fifu_social');
218
+ fifu_update_option('fifu_input_social_image_only', 'fifu_social_image_only');
219
  fifu_update_option('fifu_input_original', 'fifu_original');
220
  fifu_update_option('fifu_input_lazy', 'fifu_lazy');
221
  fifu_update_option('fifu_input_jquery', 'fifu_jquery');
featured-image-from-url.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Featured Image from URL
5
  * Plugin URI: https://fifu.app/
6
  * Description: Use an external image as Featured Image of a post or WooCommerce product. Includes Image Search, Video, Social Tags, SEO, Lazy Load, Gallery, Automation etc.
7
- * Version: 3.0.3
8
  * Author: Marcel Jacques Machado
9
  * Author URI: https://fifu.app/
10
  * WC requires at least: 3.0
4
  * Plugin Name: Featured Image from URL
5
  * Plugin URI: https://fifu.app/
6
  * Description: Use an external image as Featured Image of a post or WooCommerce product. Includes Image Search, Video, Social Tags, SEO, Lazy Load, Gallery, Automation etc.
7
+ * Version: 3.0.4
8
  * Author: Marcel Jacques Machado
9
  * Author URI: https://fifu.app/
10
  * WC requires at least: 3.0
includes/html/og-image.html ADDED
@@ -0,0 +1 @@
 
1
+ <meta property="og:image" content="<?php echo $url ?>" />
includes/html/social.html CHANGED
@@ -1,8 +1,6 @@
1
  <meta property="og:title" content='<?php echo $title ?>' />
2
  <meta property="og:description" content='<?php echo $description ?>' />
3
- <meta property="og:image" content='<?php echo $url ?>' />
4
 
5
  <meta name="twitter:card" content='summary_large_image' />
6
  <meta name="twitter:title" content='<?php echo $title ?>' />
7
- <meta name="twitter:description" content='<?php echo $description ?>' />
8
- <meta name="twitter:image" content='<?php echo $url ?>' />
1
  <meta property="og:title" content='<?php echo $title ?>' />
2
  <meta property="og:description" content='<?php echo $description ?>' />
 
3
 
4
  <meta name="twitter:card" content='summary_large_image' />
5
  <meta name="twitter:title" content='<?php echo $title ?>' />
6
+ <meta name="twitter:description" content='<?php echo $description ?>' />
 
includes/html/twitter-image.html ADDED
@@ -0,0 +1 @@
 
1
+ <meta name="twitter:image" content="<?php echo $url ?>" />
includes/thumbnail-category.php CHANGED
@@ -23,7 +23,7 @@ function fifu_ctgr_add_social_tags() {
23
  if ($term_id)
24
  $description = wp_strip_all_tags(category_description($term_id));
25
 
26
- if ($url && fifu_is_on('fifu_social'))
27
  include 'html/social.html';
28
  }
29
 
23
  if ($term_id)
24
  $description = wp_strip_all_tags(category_description($term_id));
25
 
26
+ if ($url && fifu_is_on('fifu_social') && fifu_is_off('fifu_social_image_only'))
27
  include 'html/social.html';
28
  }
29
 
includes/thumbnail.php CHANGED
@@ -6,10 +6,13 @@ add_filter('wp_head', 'fifu_add_js');
6
  if (!function_exists('is_plugin_active'))
7
  require_once(ABSPATH . '/wp-admin/includes/plugin.php');
8
 
9
- if (is_plugin_active('wordpress-seo/wp-seo.php'))
10
- add_action('wpseo_add_opengraph_images', 'fifu_add_social_tags');
11
- else
12
- add_filter('wp_head', 'fifu_add_social_tags');
 
 
 
13
 
14
  add_filter('wp_head', 'fifu_apply_css');
15
 
@@ -34,14 +37,30 @@ function fifu_add_js() {
34
  ]);
35
  }
36
 
37
- function fifu_add_social_tags() {
38
  $post_id = get_the_ID();
39
  $url = fifu_main_image_url($post_id);
40
  $title = str_replace("'", "&#39;", get_the_title($post_id));
41
  $description = str_replace("'", "&#39;", wp_strip_all_tags(get_post_field('post_excerpt', $post_id)));
42
 
43
- if ($url && fifu_is_on('fifu_social'))
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  include 'html/social.html';
 
 
 
45
  }
46
 
47
  function fifu_add_jquery() {
@@ -129,7 +148,7 @@ function fifu_main_image_url($post_id) {
129
  if (!$url && fifu_no_internal_image($post_id) && (get_option('fifu_default_url') && fifu_is_on('fifu_enable_default_url')))
130
  $url = get_option('fifu_default_url');
131
 
132
- return $url;
133
  }
134
 
135
  function fifu_no_internal_image($post_id) {
6
  if (!function_exists('is_plugin_active'))
7
  require_once(ABSPATH . '/wp-admin/includes/plugin.php');
8
 
9
+ global $pagenow;
10
+ if (!in_array($pagenow, array('post.php', 'post-new.php', 'admin-ajax.php', 'wp-cron.php'))) {
11
+ if (is_plugin_active('wordpress-seo/wp-seo.php'))
12
+ add_action('wpseo_add_opengraph_images', 'fifu_add_social_tags');
13
+ else
14
+ add_filter('wp_head', 'fifu_add_social_tags');
15
+ }
16
 
17
  add_filter('wp_head', 'fifu_apply_css');
18
 
37
  ]);
38
  }
39
 
40
+ function fifu_add_social_tags($object) {
41
  $post_id = get_the_ID();
42
  $url = fifu_main_image_url($post_id);
43
  $title = str_replace("'", "&#39;", get_the_title($post_id));
44
  $description = str_replace("'", "&#39;", wp_strip_all_tags(get_post_field('post_excerpt', $post_id)));
45
 
46
+ if (fifu_is_off('fifu_social'))
47
+ return;
48
+
49
+ // yoast
50
+ if ($object) {
51
+ if ($url)
52
+ $object->add_image($url);
53
+ return;
54
+ }
55
+
56
+ if ($url)
57
+ include 'html/og-image.html';
58
+
59
+ if (fifu_is_off('fifu_social_image_only'))
60
  include 'html/social.html';
61
+
62
+ if ($url)
63
+ include 'html/twitter-image.html';
64
  }
65
 
66
  function fifu_add_jquery() {
148
  if (!$url && fifu_no_internal_image($post_id) && (get_option('fifu_default_url') && fifu_is_on('fifu_enable_default_url')))
149
  $url = get_option('fifu_default_url');
150
 
151
+ return str_replace("'", "", $url);
152
  }
153
 
154
  function fifu_no_internal_image($post_id) {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://donorbox.org/fifu
4
  Tags: featured image, image, featured, url, external, external featured image, featured image from url, url featured image, flickr, s3, picasa, woocommerce, product image, product gallery, product, gallery, column, list, page, post, all, content, custom, type, custom post type, category, video, external video, youtube, vimeo, featured video, hover, effects, hover effects, wp all import, css, style, slider, thumbnail, social, network, auto, publish, hide, first image, content, lightbox, size, grid, auto post thumbnail, link, uri, affiliate, wp, rest, api, wp rest api, lazy, load, google, drive, instagram, validation, jetpack, visual composer, play, pause, crop, resize, zoom, enable, disable, default, automatic, auto set, cloudinary, schedule, event, cron, seo, variable, tumblr, variation, product variation, shortcode, facebook, instagram, imgur, publitio, 9gag, wcfm, add-on, scraper, 特色圖片, 图片, 网址, 外部, unsplash, keyword, random, acf
5
  Requires at least: 4.0
6
  Tested up to: 5.4
7
- Stable tag: 3.0.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -164,6 +164,9 @@ Features:
164
 
165
  == Changelog ==
166
 
 
 
 
167
  = 3.0.3 =
168
  * New options (Premium): Play Button > Color, Play Button > z-index, Video Image Thumbnail > on custom post type; Improvement (Premium): new option to replace the play button by a little top right video icon on grids; Bug fix: menu settings style issue due customized jquery-ui CSS from some themes.
169
 
@@ -743,6 +746,9 @@ was removed. To finish, a Premium version is now been presented.
743
 
744
  == Upgrade Notice ==
745
 
 
 
 
746
  = 3.0.3 =
747
  * New options (Premium): Play Button > Color, Play Button > z-index, Video Image Thumbnail > on custom post type; Improvement (Premium): new option to replace the play button by a little top right video icon on grids; Bug fix: menu settings style issue due customized jquery-ui CSS from some themes.
748
 
4
  Tags: featured image, image, featured, url, external, external featured image, featured image from url, url featured image, flickr, s3, picasa, woocommerce, product image, product gallery, product, gallery, column, list, page, post, all, content, custom, type, custom post type, category, video, external video, youtube, vimeo, featured video, hover, effects, hover effects, wp all import, css, style, slider, thumbnail, social, network, auto, publish, hide, first image, content, lightbox, size, grid, auto post thumbnail, link, uri, affiliate, wp, rest, api, wp rest api, lazy, load, google, drive, instagram, validation, jetpack, visual composer, play, pause, crop, resize, zoom, enable, disable, default, automatic, auto set, cloudinary, schedule, event, cron, seo, variable, tumblr, variation, product variation, shortcode, facebook, instagram, imgur, publitio, 9gag, wcfm, add-on, scraper, 特色圖片, 图片, 网址, 外部, unsplash, keyword, random, acf
5
  Requires at least: 4.0
6
  Tested up to: 5.4
7
+ Stable tag: 3.0.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
164
 
165
  == Changelog ==
166
 
167
+ = 3.0.4 =
168
+ * Critical bug fix: conflict between Social Tags feature and the latest Yoast SEO plugin version on post editor (Updating failed error); New option (Premium): thumbnail height (crop the top and bottom margins from video image thumbnails); New option: only image tags (disable title and description social tags); Bug fix: rest routes (some features not working in sites with https problems); Bug fix: metadata features (problems due URLs with illegal characters).
169
+
170
  = 3.0.3 =
171
  * New options (Premium): Play Button > Color, Play Button > z-index, Video Image Thumbnail > on custom post type; Improvement (Premium): new option to replace the play button by a little top right video icon on grids; Bug fix: menu settings style issue due customized jquery-ui CSS from some themes.
172
 
746
 
747
  == Upgrade Notice ==
748
 
749
+ = 3.0.4 =
750
+ * Critical bug fix: conflict between Social Tags feature and the latest Yoast SEO plugin version on post editor (Updating failed error); New option (Premium): thumbnail height (crop the top and bottom margins from video image thumbnails); New option: only image tags (disable title and description social tags); Bug fix: rest routes (some features not working in sites with https problems); Bug fix: metadata features (problems due URLs with illegal characters).
751
+
752
  = 3.0.3 =
753
  * New options (Premium): Play Button > Color, Play Button > z-index, Video Image Thumbnail > on custom post type; Improvement (Premium): new option to replace the play button by a little top right video icon on grids; Bug fix: menu settings style issue due customized jquery-ui CSS from some themes.
754