Version Description
Fixed character encoding for Scandinavian characters plus many improvements to the configuration process.
Download this release
Release Info
Developer | DvanKooten |
Plugin | Recent Facebook Posts |
Version | 1.8.5 |
Comparing to | |
See all releases |
Code changes from version 1.8.4 to 1.8.5
- includes/class-public.php +2 -4
- readme.txt +7 -1
- recent-facebook-posts.php +2 -2
includes/class-public.php
CHANGED
@@ -78,6 +78,7 @@ class RFBP_Public {
|
|
78 |
continue;
|
79 |
}
|
80 |
|
|
|
81 |
if ($p->type == 'link' && !isset($p->name) && (!isset($p->message) || empty($p->message))) {
|
82 |
continue;
|
83 |
}
|
@@ -85,9 +86,6 @@ class RFBP_Public {
|
|
85 |
// skip friend approvals
|
86 |
if ( $p->type == 'status' && $p->status_type == 'approved_friend' ) { continue; }
|
87 |
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
//split user and post ID (userID_postID)
|
92 |
$idArray = explode( "_", $p->id );
|
93 |
|
@@ -186,7 +184,7 @@ class RFBP_Public {
|
|
186 |
|
187 |
foreach ( $posts as $p ) {
|
188 |
|
189 |
-
$content = $p['content'];
|
190 |
|
191 |
$shortened = false;
|
192 |
|
78 |
continue;
|
79 |
}
|
80 |
|
81 |
+
// skip empty links.
|
82 |
if ($p->type == 'link' && !isset($p->name) && (!isset($p->message) || empty($p->message))) {
|
83 |
continue;
|
84 |
}
|
86 |
// skip friend approvals
|
87 |
if ( $p->type == 'status' && $p->status_type == 'approved_friend' ) { continue; }
|
88 |
|
|
|
|
|
|
|
89 |
//split user and post ID (userID_postID)
|
90 |
$idArray = explode( "_", $p->id );
|
91 |
|
184 |
|
185 |
foreach ( $posts as $p ) {
|
186 |
|
187 |
+
$content = utf8_decode($p['content']);
|
188 |
|
189 |
$shortened = false;
|
190 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://dannyvankooten.com/donate/
|
|
4 |
Tags: facebook,posts,fanpage,recent posts,fb,like box alternative,widget,facebook widget,widgets,facebook updates,like button,fb posts
|
5 |
Requires at least: 3.1
|
6 |
Tested up to: 3.7.1
|
7 |
-
Stable tag: 1.8.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -146,6 +146,9 @@ add_filter('rfbp_cache_time', 'my_rfbp_cache_time');
|
|
146 |
|
147 |
== Changelog ==
|
148 |
|
|
|
|
|
|
|
149 |
= 1.8.4 - December 2, 2013 =
|
150 |
* Fixed: Empty events won't show
|
151 |
* Improved: a cache renewal is no longer required after changing the image size
|
@@ -317,6 +320,9 @@ add_filter('rfbp_cache_time', 'my_rfbp_cache_time');
|
|
317 |
|
318 |
== Upgrade Notice ==
|
319 |
|
|
|
|
|
|
|
320 |
= 1.8.1 =
|
321 |
Added link previews (like Facebook) and Dutch translations. Please update your settings after updating.
|
322 |
|
4 |
Tags: facebook,posts,fanpage,recent posts,fb,like box alternative,widget,facebook widget,widgets,facebook updates,like button,fb posts
|
5 |
Requires at least: 3.1
|
6 |
Tested up to: 3.7.1
|
7 |
+
Stable tag: 1.8.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
146 |
|
147 |
== Changelog ==
|
148 |
|
149 |
+
= 1.8.5 - December 3, 2013 =
|
150 |
+
* Fixed: Character encoding for scandinavian languages etc.
|
151 |
+
|
152 |
= 1.8.4 - December 2, 2013 =
|
153 |
* Fixed: Empty events won't show
|
154 |
* Improved: a cache renewal is no longer required after changing the image size
|
320 |
|
321 |
== Upgrade Notice ==
|
322 |
|
323 |
+
= 1.8.5 =
|
324 |
+
Fixed character encoding for Scandinavian characters plus many improvements to the configuration process.
|
325 |
+
|
326 |
= 1.8.1 =
|
327 |
Added link previews (like Facebook) and Dutch translations. Please update your settings after updating.
|
328 |
|
recent-facebook-posts.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Recent Facebook Posts
|
4 |
Plugin URI: http://dannyvankooten.com/wordpress-plugins/recent-facebook-posts/
|
5 |
Description: Lists most recent posts from a public Facebook page.
|
6 |
-
Version: 1.8.
|
7 |
Author: Danny van Kooten
|
8 |
Author URI: http://dannyvankooten.com/
|
9 |
Text Domain: recent-facebook-posts
|
@@ -31,7 +31,7 @@ if(! defined("ABSPATH") ) {
|
|
31 |
exit;
|
32 |
}
|
33 |
|
34 |
-
define("RFBP_VERSION", "1.8.
|
35 |
define("RFBP_PLUGIN_DIR", plugin_dir_path(__FILE__));
|
36 |
|
37 |
// define WP_CONTENT_DIR since we're using it..
|
3 |
Plugin Name: Recent Facebook Posts
|
4 |
Plugin URI: http://dannyvankooten.com/wordpress-plugins/recent-facebook-posts/
|
5 |
Description: Lists most recent posts from a public Facebook page.
|
6 |
+
Version: 1.8.5
|
7 |
Author: Danny van Kooten
|
8 |
Author URI: http://dannyvankooten.com/
|
9 |
Text Domain: recent-facebook-posts
|
31 |
exit;
|
32 |
}
|
33 |
|
34 |
+
define("RFBP_VERSION", "1.8.5");
|
35 |
define("RFBP_PLUGIN_DIR", plugin_dir_path(__FILE__));
|
36 |
|
37 |
// define WP_CONTENT_DIR since we're using it..
|