WD Facebook Feed – Custom Facebook Feed Plugin - Version 1.0.15

Version Description

  • Fixed: bug on posts with no shares
  • Fixed: bug on showing old events
Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 WD Facebook Feed – Custom Facebook Feed Plugin
Version 1.0.15
Comparing to
See all releases

Code changes from version 1.0.14 to 1.0.15

Files changed (3) hide show
  1. facebook-feed-wd.php +2 -2
  2. js/ffwd_frontend.js +10 -6
  3. readme.txt +5 -1
facebook-feed-wd.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Facebook Feed WD
5
  * Plugin URI: https://web-dorado.com/products/wordpress-facebook-feed-plugin.html
6
  * Description:Facebook Feed WD is a completely customizable, responsive solution to help you display your Facebook feed on your WordPress website.
7
- * Version: 1.0.14
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -729,7 +729,7 @@ add_action('init', 'ffwd_language_load');
729
  function ffwd_version()
730
  {
731
 
732
- $version = '1.0.14';
733
 
734
  if (get_option('ffwd_version') === false) {
735
  add_option('ffwd_version', $version);
4
  * Plugin Name: Facebook Feed WD
5
  * Plugin URI: https://web-dorado.com/products/wordpress-facebook-feed-plugin.html
6
  * Description:Facebook Feed WD is a completely customizable, responsive solution to help you display your Facebook feed on your WordPress website.
7
+ * Version: 1.0.15
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
729
  function ffwd_version()
730
  {
731
 
732
+ $version = '1.0.15';
733
 
734
  if (get_option('ffwd_version') === false) {
735
  add_option('ffwd_version', $version);
js/ffwd_frontend.js CHANGED
@@ -68,8 +68,8 @@ function ffwd_frontend_ajax(form_id, current_view, id, album_id, enter_or_back,
68
  /* For thumnail amd masonry view */
69
  function ffwd_fill_likes_thumnail(id_object_id, ffwd, graph_url) {
70
  var ids_array_count=Math.ceil(id_object_id.length/50);
71
- ids_array=[];
72
- img_ids=[];
73
  for(var i = 0; i < ids_array_count; i++)
74
  {
75
  ids_array[i]=[];
@@ -161,8 +161,8 @@ function ffwd_fill_thum_srs_likes_compact_album(id_object_id, ffwd, graph_url, f
161
 
162
 
163
  var ids_array_count=Math.ceil(id_object_id.length/50);
164
- ids_array=[];
165
- img_ids=[];
166
  for(var i = 0; i < ids_array_count; i++)
167
  {
168
  ids_array[i]=[];
@@ -363,8 +363,8 @@ function do_something_with_data_album(result, id, ffwd, type, graph_url, ffwd_al
363
 
364
 
365
  var ids_array_count=Math.ceil(data.length/50);
366
- ids_array=[];
367
- img_ids=[];
368
  for(var j = 0; j < ids_array_count; j++)
369
  {
370
  ids_array[j]=[];
@@ -653,6 +653,10 @@ function ffwd_fill_likes_blog_style(id_object_id, ffwd, owner_info, ffwd_params,
653
 
654
  //do_something_with_data_blog_style(reactions_array[object_id], id_object_id[i]['id'], ffwd, 'likes', "", ffwd_params, graph_url);
655
 
 
 
 
 
656
 
657
  do_something_with_data_blog_style(jQuery.parseJSON(id_object_id[i]['shares']), id_object_id[i]['id'], ffwd, 'shares', "", ffwd_params, graph_url);
658
 
68
  /* For thumnail amd masonry view */
69
  function ffwd_fill_likes_thumnail(id_object_id, ffwd, graph_url) {
70
  var ids_array_count=Math.ceil(id_object_id.length/50);
71
+ var ids_array=[];
72
+ var img_ids=[];
73
  for(var i = 0; i < ids_array_count; i++)
74
  {
75
  ids_array[i]=[];
161
 
162
 
163
  var ids_array_count=Math.ceil(id_object_id.length/50);
164
+ var ids_array=[];
165
+ var img_ids=[];
166
  for(var i = 0; i < ids_array_count; i++)
167
  {
168
  ids_array[i]=[];
363
 
364
 
365
  var ids_array_count=Math.ceil(data.length/50);
366
+ var ids_array=[];
367
+ var img_ids=[];
368
  for(var j = 0; j < ids_array_count; j++)
369
  {
370
  ids_array[j]=[];
653
 
654
  //do_something_with_data_blog_style(reactions_array[object_id], id_object_id[i]['id'], ffwd, 'likes', "", ffwd_params, graph_url);
655
 
656
+ if(!id_object_id[i]['shares'])
657
+ {
658
+ id_object_id[i]['shares']='{}';
659
+ }
660
 
661
  do_something_with_data_blog_style(jQuery.parseJSON(id_object_id[i]['shares']), id_object_id[i]['id'], ffwd, 'shares', "", ffwd_params, graph_url);
662
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-facebook-feed-plugin.html
4
  Tags: customizable facebook feed, facebook, facebook events, facebook feed, facebook group, facebook like box, facebook likes, facebook page, facebook photos, facebook plugin, facebook posts, facebook likebox
5
  Requires at least: 3.4
6
  Tested up to: 4.7
7
- Stable tag: 1.0.14
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -66,6 +66,10 @@ Upgrade to [Facebook Feed Pro](https://web-dorado.com/products/wordpress-faceboo
66
 
67
  == Changelog ==
68
 
 
 
 
 
69
  = 1.0.14 =
70
  * Fixed: Bug on reactions
71
  * Fixed: Bug on multiple Feeds
4
  Tags: customizable facebook feed, facebook, facebook events, facebook feed, facebook group, facebook like box, facebook likes, facebook page, facebook photos, facebook plugin, facebook posts, facebook likebox
5
  Requires at least: 3.4
6
  Tested up to: 4.7
7
+ Stable tag: 1.0.15
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
66
 
67
  == Changelog ==
68
 
69
+ = 1.0.15 =
70
+ * Fixed: bug on posts with no shares
71
+ * Fixed: bug on showing old events
72
+
73
  = 1.0.14 =
74
  * Fixed: Bug on reactions
75
  * Fixed: Bug on multiple Feeds