Custom Facebook Feed - Version 1.3.1

Version Description

  • Fix: Fixed issue with certain statuses not displaying correctly
Download this release

Release Info

Developer smashballoon
Plugin Icon 128x128 Custom Facebook Feed
Version 1.3.1
Comparing to
See all releases

Code changes from version 1.3.0 to 1.3.1

Files changed (2) hide show
  1. README.txt +4 -1
  2. custom-facebook-feed.php +2 -2
README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: smashballoon
3
Tags: facebook, custom, customizable, feed, seo, search engine, responsive, mobile, shortcode, social, status
4
Requires at least: 3.0
5
Tested up to: 3.5.1
6
- Stable tag: 1.3.0
7
License: GPLv2 or later
8
License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
@@ -70,6 +70,9 @@ It sure is. Unlike other Facebook plugins which use iframes to embed your feed i
70
71
== Changelog ==
72
73
= 1.3.0 =
74
* Tweak: If 'Number of Posts to show' is not set then default to 10
75
3
Tags: facebook, custom, customizable, feed, seo, search engine, responsive, mobile, shortcode, social, status
4
Requires at least: 3.0
5
Tested up to: 3.5.1
6
+ Stable tag: 1.3.1
7
License: GPLv2 or later
8
License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
70
71
== Changelog ==
72
73
+ = 1.3.1 =
74
+ * Fix: Fixed issue with certain statuses not displaying correctly
75
+
76
= 1.3.0 =
77
* Tweak: If 'Number of Posts to show' is not set then default to 10
78
custom-facebook-feed.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Custom Facebook Feed
4
Plugin URI: http://smashballoon.com/custom-facebook-feed
5
Description: Add a completely customizable Facebook feed to your WordPress site
6
- Version: 1.3.0
7
Author: Smash Balloon
8
Author URI: http://smashballoon.com/
9
License: GPLv2 or later
@@ -98,7 +98,7 @@ function display_cff($atts) {
98
$StatusID = explode("_", $news->id);
99
100
//Check whether it's a status (author comment or like)
101
- if ($news->type !== 'status') {
102
//If it isn't then create the post
103
104
//Only create posts for the amount of posts specified
3
Plugin Name: Custom Facebook Feed
4
Plugin URI: http://smashballoon.com/custom-facebook-feed
5
Description: Add a completely customizable Facebook feed to your WordPress site
6
+ Version: 1.3.1
7
Author: Smash Balloon
8
Author URI: http://smashballoon.com/
9
License: GPLv2 or later
98
$StatusID = explode("_", $news->id);
99
100
//Check whether it's a status (author comment or like)
101
+ if ( ( $news->type == 'status' && !empty($news->message) ) || $news->type !== 'status' ) {
102
//If it isn't then create the post
103
104
//Only create posts for the amount of posts specified