Easy Facebook Like Box (Facebook Page Plugin) – Custom Facebook Feed – Auto PopUp - Version 6.2.5

Version Description

  • Fixed: Critical error issue
  • Fixed: Grid images issue
  • Fixed: Minor issues
Download this release

Release Info

Developer DaNish Ali
Plugin Icon 128x128 Easy Facebook Like Box (Facebook Page Plugin) – Custom Facebook Feed – Auto PopUp
Version 6.2.5
Comparing to
See all releases

Code changes from version 6.2.4 to 6.2.5

README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: DaNish Ali, maltathemes, sjaved
3
  Tags: instagram feed, instagram, facebook feed, Facebook, page plugin
4
  Requires at least: 3.3
5
  Tested up to: 5.7
6
- Stable tag: 6.2.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -177,6 +177,11 @@ http://wordpress.org/support/topic/need-feed-back-on-plugin-feature/
177
  23. Instagram skins/layouts panel
178
 
179
  == Changelog ==
 
 
 
 
 
180
  = 6.2.4 =
181
  * Added: Featured Post addon support
182
  * Added: French, German, Spanish, Italian, Portuguese languages support.
3
  Tags: instagram feed, instagram, facebook feed, Facebook, page plugin
4
  Requires at least: 3.3
5
  Tested up to: 5.7
6
+ Stable tag: 6.2.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
177
  23. Instagram skins/layouts panel
178
 
179
  == Changelog ==
180
+ = 6.2.5 =
181
+ * Fixed: Critical error issue
182
+ * Fixed: Grid images issue
183
+ * Fixed: Minor issues
184
+
185
  = 6.2.4 =
186
  * Added: Featured Post addon support
187
  * Added: French, German, Spanish, Italian, Portuguese languages support.
easy-facebook-likebox.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Easy Social Feed
5
  * Plugin URI: https://wordpress.org/plugins/easy-facebook-likebox
6
  * Description: Formerly "Easy Facebook Like Box and Custom Facebook Feed" plugin allows you to easily display custom facebook feed, custom Instagram photos and videos feed, page plugin (like box) on your website using either widget or shortcode to increase facbook fan page likes. You can use the shortcode generator. Additionally it also now allows you to dipslay the customized facebook feed on your website using the same color scheme of your website. Its completely customizable with lots of optional settings. Its also responsive facebook like box at the same time.
7
- * Version: 6.2.4
8
  * Author: Easy Social Feed
9
  * Author URI: https://easysocialfeed.com/
10
  * Text Domain: easy-facebook-likebox
@@ -98,7 +98,7 @@ if ( function_exists( 'efl_fs' ) ) {
98
  if ( !class_exists( 'Feed_Them_All' ) ) {
99
  class Feed_Them_All
100
  {
101
- public $version = '6.2.4' ;
102
  public $fta_slug = 'easy-facebook-likebox' ;
103
  public $plug_slug = 'easy-facebook-likebox' ;
104
  function __construct()
4
  * Plugin Name: Easy Social Feed
5
  * Plugin URI: https://wordpress.org/plugins/easy-facebook-likebox
6
  * Description: Formerly "Easy Facebook Like Box and Custom Facebook Feed" plugin allows you to easily display custom facebook feed, custom Instagram photos and videos feed, page plugin (like box) on your website using either widget or shortcode to increase facbook fan page likes. You can use the shortcode generator. Additionally it also now allows you to dipslay the customized facebook feed on your website using the same color scheme of your website. Its completely customizable with lots of optional settings. Its also responsive facebook like box at the same time.
7
+ * Version: 6.2.5
8
  * Author: Easy Social Feed
9
  * Author URI: https://easysocialfeed.com/
10
  * Text Domain: easy-facebook-likebox
98
  if ( !class_exists( 'Feed_Them_All' ) ) {
99
  class Feed_Them_All
100
  {
101
+ public $version = '6.2.5' ;
102
  public $fta_slug = 'easy-facebook-likebox' ;
103
  public $plug_slug = 'easy-facebook-likebox' ;
104
  function __construct()
facebook/admin/includes/efbl-customizer-extend.php CHANGED
@@ -48,6 +48,8 @@ endif;
48
 
49
  //======================================================================
50
 
 
 
51
  if ( class_exists( 'WP_Customize_Control' ) && ! class_exists( 'Customize_Alpha_Color_Control' ) ):
52
  class Customize_Alpha_Color_Control extends WP_Customize_Control {
53
 
48
 
49
  //======================================================================
50
 
51
+
52
+
53
  if ( class_exists( 'WP_Customize_Control' ) && ! class_exists( 'Customize_Alpha_Color_Control' ) ):
54
  class Customize_Alpha_Color_Control extends WP_Customize_Control {
55
 
facebook/frontend/easy-facebook-likebox.php CHANGED
@@ -30,7 +30,7 @@ class Easy_Facebook_Likebox
30
  *
31
  * @var string
32
  */
33
- const VERSION = '6.2.4' ;
34
  /**
35
  *
36
  * Unique identifier for your plugin.
@@ -54,7 +54,7 @@ class Easy_Facebook_Likebox
54
  */
55
  protected static $instance = null ;
56
  /**
57
- * Instance of the like box render funcion
58
  *
59
  * @since 1.1.0
60
  *
@@ -547,7 +547,7 @@ class Easy_Facebook_Likebox
547
  $fbData = $json_decoded->posts->data;
548
 
549
  if ( isset( $json_decoded->error ) ) {
550
- $error = $json_decoded->error;
551
  } else {
552
  $error = '';
553
  }
30
  *
31
  * @var string
32
  */
33
+ const VERSION = '6.2.5' ;
34
  /**
35
  *
36
  * Unique identifier for your plugin.
54
  */
55
  protected static $instance = null ;
56
  /**
57
+ * Instance of the like box render function
58
  *
59
  * @since 1.1.0
60
  *
547
  $fbData = $json_decoded->posts->data;
548
 
549
  if ( isset( $json_decoded->error ) ) {
550
+ $error = $json_decoded->error->message;
551
  } else {
552
  $error = '';
553
  }
facebook/frontend/includes/core-functions.php CHANGED
@@ -482,20 +482,25 @@ if ( !function_exists( 'efbl_get_cache_seconds' ) ) {
482
  if ( !isset( $instance ) && !is_array( $instance ) ) {
483
  return false;
484
  }
 
485
  if ( !isset( $instance['cache_unit'] ) || $instance['cache_unit'] < 1 ) {
486
  $cache_unit = 1;
 
 
487
  }
 
 
488
  //Calculate the cache time in seconds
489
- if ( $instance['cache_duration'] == 'minutes' ) {
490
  $cache_duration = 60;
491
  }
492
- if ( $instance['cache_duration'] == 'hours' ) {
493
  $cache_duration = 60 * 60;
494
  }
495
- if ( $instance['cache_duration'] == 'days' ) {
496
  $cache_duration = 60 * 60 * 24;
497
  }
498
- $cache_seconds = $cache_duration * $instance['cache_unit'];
499
  return $cache_seconds;
500
  }
501
 
482
  if ( !isset( $instance ) && !is_array( $instance ) ) {
483
  return false;
484
  }
485
+
486
  if ( !isset( $instance['cache_unit'] ) || $instance['cache_unit'] < 1 ) {
487
  $cache_unit = 1;
488
+ } else {
489
+ $cache_unit = 1;
490
  }
491
+
492
+ $cache_duration = 60 * 60 * 24;
493
  //Calculate the cache time in seconds
494
+ if ( $instance['cache_duration'] == 'minutes' || $instance['cache_duration'] == 'minute' ) {
495
  $cache_duration = 60;
496
  }
497
+ if ( $instance['cache_duration'] == 'hours' || $instance['cache_duration'] == 'hour' ) {
498
  $cache_duration = 60 * 60;
499
  }
500
+ if ( $instance['cache_duration'] == 'days' || $instance['cache_duration'] == 'day' ) {
501
  $cache_duration = 60 * 60 * 24;
502
  }
503
+ $cache_seconds = $cache_duration * $cache_unit;
504
  return $cache_seconds;
505
  }
506
 
facebook/frontend/views/feed.php CHANGED
@@ -427,7 +427,7 @@ if ( isset( $efbl_posts ) && !empty($efbl_posts) ) {
427
  }
428
 
429
  $efbl_feed_popup_url = '';
430
- if ( $layout == 'grid' && $pic_class != "efbl_has_image" && !$is_moderate ) {
431
  continue;
432
  }
433
  if ( $filter == 'albums' && $story->count == 0 ) {
@@ -472,6 +472,7 @@ if ( isset( $efbl_posts ) && !empty($efbl_posts) ) {
472
  ] );
473
  $efbl_feed_comments_popup_url = '';
474
  $load_description_action = 'efbl_load_more_description';
 
475
 
476
  if ( isset( $story->reactions->data ) ) {
477
  $reactions_arr = $story->reactions->data;
427
  }
428
 
429
  $efbl_feed_popup_url = '';
430
+ if ( $layout == 'grid' && empty($feed_img) && !$is_moderate ) {
431
  continue;
432
  }
433
  if ( $filter == 'albums' && $story->count == 0 ) {
472
  ] );
473
  $efbl_feed_comments_popup_url = '';
474
  $load_description_action = 'efbl_load_more_description';
475
+ $efbl_reactions_modal = '';
476
 
477
  if ( isset( $story->reactions->data ) ) {
478
  $reactions_arr = $story->reactions->data;
facebook/frontend/views/templates/template-halfwidth.php CHANGED
@@ -59,7 +59,7 @@ if ( $is_album_feed ) {
59
  <a href="<?php
60
  echo admin_url( 'admin-ajax.php' ) ;
61
  ?>?action=efbl_generate_popup_html&rand_id=<?php
62
- echo $rand_id ;
63
  ?>" <?php
64
  echo $efbl_free_popup_type ;
65
  ?> data-storylink="<?php
59
  <a href="<?php
60
  echo admin_url( 'admin-ajax.php' ) ;
61
  ?>?action=efbl_generate_popup_html&rand_id=<?php
62
+ echo sanitize_key( $rand_id ) ;
63
  ?>" <?php
64
  echo $efbl_free_popup_type ;
65
  ?> data-storylink="<?php
instagram/frontend/assets/css/esf-insta-customizer-style.css.php CHANGED
@@ -21,7 +21,7 @@ if ( isset( $mif_skins ) ) {
21
  }
22
 
23
  $skin_id = $esf_insta_skin['ID'];
24
-
25
  /*
26
  * Columns Css
27
  */
21
  }
22
 
23
  $skin_id = $esf_insta_skin['ID'];
24
+
25
  /*
26
  * Columns Css
27
  */
instagram/frontend/views/templates/template-grid.php CHANGED
@@ -14,49 +14,54 @@ if ( $feed->media_url ) {
14
  <div class="esf-insta-grid-wrapper esf-insta-story-wrapper">
15
 
16
  <?php
17
- ?>
 
 
 
18
  <a class="esf_insta_feed_fancy_popup esf_insta_grid_box"
19
  href="<?php
20
- echo esc_url( $feed->permalink ) ;
21
- ?>"
22
  target="<?php
23
- echo $link_target ;
24
- ?>"
25
  style="background-image: url(<?php
26
- echo $thumbnail_url ;
27
- ?>)">
28
- <?php
29
- ?>
30
 
31
  <div class="esf-insta-overlay">
32
 
33
- <?php
34
- if ( $mif_values['show_feed_open_popup_icon'] ) {
35
- ?>
36
 
37
  <i class="icon icon-esf-plus esf-insta-plus"
38
  aria-hidden="true"></i>
39
 
40
- <?php
41
- }
42
- ?>
43
-
44
- <?php
45
- if ( $feed->media_type == 'VIDEO' ) {
46
  ?>
 
 
 
 
47
  <i class="icon icon-esf-clone icon-esf-video-camera"
48
  aria-hidden="true"></i>
49
- <?php
50
- }
51
- if ( $feed->media_type == 'CAROUSEL_ALBUM' ) {
52
- ?>
53
  <i class="icon icon-esf-clone esf-insta-multimedia"
54
  aria-hidden="true"></i>
55
- <?php
56
- }
57
- ?>
58
  </div>
59
  </a>
 
 
 
 
60
  </div>
61
  </div>
62
 
14
  <div class="esf-insta-grid-wrapper esf-insta-story-wrapper">
15
 
16
  <?php
17
+
18
+ if ( !efl_fs()->is_plan( 'instagram_premium', true ) && !efl_fs()->is_plan( 'combo_premium', true ) ) {
19
+ ?>
20
+
21
  <a class="esf_insta_feed_fancy_popup esf_insta_grid_box"
22
  href="<?php
23
+ echo esc_url( $feed->permalink ) ;
24
+ ?>"
25
  target="<?php
26
+ echo $link_target ;
27
+ ?>"
28
  style="background-image: url(<?php
29
+ echo $thumbnail_url ;
30
+ ?>)">
 
 
31
 
32
  <div class="esf-insta-overlay">
33
 
34
+ <?php
35
+ if ( $mif_values['show_feed_open_popup_icon'] ) {
36
+ ?>
37
 
38
  <i class="icon icon-esf-plus esf-insta-plus"
39
  aria-hidden="true"></i>
40
 
41
+ <?php
42
+ }
 
 
 
 
43
  ?>
44
+
45
+ <?php
46
+ if ( $feed->media_type == 'VIDEO' ) {
47
+ ?>
48
  <i class="icon icon-esf-clone icon-esf-video-camera"
49
  aria-hidden="true"></i>
50
+ <?php
51
+ }
52
+ if ( $feed->media_type == 'CAROUSEL_ALBUM' ) {
53
+ ?>
54
  <i class="icon icon-esf-clone esf-insta-multimedia"
55
  aria-hidden="true"></i>
56
+ <?php
57
+ }
58
+ ?>
59
  </div>
60
  </a>
61
+ <?php
62
+ }
63
+
64
+ ?>
65
  </div>
66
  </div>
67