Featured Image From URL - Version 3.8.0

Version Description

  • Fix: the regular featured image metabox will be closed and not longer removed when the post has an external featured image.
Download this release

Release Info

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

Code changes from version 3.7.9 to 3.8.0

admin/html/js/meta-box.js CHANGED
@@ -169,8 +169,9 @@ function fifu_register_help() {
169
  }
170
 
171
  function fifu_hide_regular_featured_image_field() {
172
- if (wp.data.dispatch('core/edit-post'))
173
- wp.data.dispatch('core/edit-post').removeEditorPanel('featured-image');
 
174
  }
175
 
176
  jQuery(document).ready(function () {
169
  }
170
 
171
  function fifu_hide_regular_featured_image_field() {
172
+ if (wp.data.dispatch('core/edit-post') && wp.data.select('core/edit-post').isEditorPanelOpened('featured-image')) {
173
+ wp.data.dispatch('core/edit-post').toggleEditorPanelOpened('featured-image');
174
+ }
175
  }
176
 
177
  jQuery(document).ready(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 as featured image of a post or WooCommerce product. Includes Image Search, Video, Social Tags, SEO, Lazy Load, Gallery, Automation etc.
7
- * Version: 3.7.9
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 as featured image of a post or WooCommerce product. Includes Image Search, Video, Social Tags, SEO, Lazy Load, Gallery, Automation etc.
7
+ * Version: 3.8.0
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: 5.8.2
7
- Stable tag: 3.7.9
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -225,20 +225,20 @@ Featured Image, Figurë e Zgjedhur, Image mise en avant, Uitgelichte afbeelding,
225
 
226
  == Changelog ==
227
 
 
 
 
228
  = 3.7.9 =
229
  * Enhancement: hide internal image metaboxes when the post has an external featured image.
230
 
231
  = 3.7.8 =
232
  * CSV and JSON examples updated.
233
 
234
- = 3.7.7 =
235
- * Enhancement: Featured video (supports videos from the media library now); new option: FIFU Product Gallery > adaptive height; new option: Save in the Media Library > Run now.
236
-
237
  = others =
238
  * [more](https://fifu.app/changelog)
239
 
240
 
241
  == Upgrade Notice ==
242
 
243
- = 3.7.9 =
244
- * Enhancement: hide internal image metaboxes when the post has an external featured image.
4
  Tags: featured, image, url, video, woocommerce
5
  Requires at least: 5.3
6
  Tested up to: 5.8.2
7
+ Stable tag: 3.8.0
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
225
 
226
  == Changelog ==
227
 
228
+ = 3.8.0 =
229
+ * Fix: the regular featured image metabox will be closed and not longer removed when the post has an external featured image.
230
+
231
  = 3.7.9 =
232
  * Enhancement: hide internal image metaboxes when the post has an external featured image.
233
 
234
  = 3.7.8 =
235
  * CSV and JSON examples updated.
236
 
 
 
 
237
  = others =
238
  * [more](https://fifu.app/changelog)
239
 
240
 
241
  == Upgrade Notice ==
242
 
243
+ = 3.8.0 =
244
+ * Fix: the regular featured image metabox will be closed and not longer removed when the post has an external featured image.