Custom Facebook Feed - Version 1.9.9.2

Version Description

  • Fix: Removed a couple of stray PHP notices
Download this release

Release Info

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

Code changes from version 1.9.9.1 to 1.9.9.2

Files changed (2) hide show
  1. README.txt +4 -1
  2. custom-facebook-feed.php +4 -3
README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: smashballoon
3
Tags: Facebook, Facebook feed, Facebook posts, Facebook wall, Facebook events, Facebook page, Facebook group, Facebook Like box, Customizable Facebook Feed, custom, customizable, seo, responsive, mobile, social
4
Requires at least: 3.0
5
Tested up to: 3.9.1
6
- Stable tag: 1.9.9.1
7
License: GPLv2 or later
8
License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
@@ -269,6 +269,9 @@ Credit [iMarketing Factory](http://www.imarketingfactory.com/facebook/ "The Impo
269
9. It's super easy to display your Facebook feed in any page or post
270
271
== Changelog ==
272
= 1.9.9.1 =
273
* Fix: Fixed an occasional issue with hashtags in inline CSS inadvertently being linked
274
3
Tags: Facebook, Facebook feed, Facebook posts, Facebook wall, Facebook events, Facebook page, Facebook group, Facebook Like box, Customizable Facebook Feed, custom, customizable, seo, responsive, mobile, social
4
Requires at least: 3.0
5
Tested up to: 3.9.1
6
+ Stable tag: 1.9.9.2
7
License: GPLv2 or later
8
License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
269
9. It's super easy to display your Facebook feed in any page or post
270
271
== Changelog ==
272
+ = 1.9.9.2 =
273
+ * Fix: Removed a couple of stray PHP notices
274
+
275
= 1.9.9.1 =
276
* Fix: Fixed an occasional issue with hashtags in inline CSS inadvertently being linked
277
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.9.9.1
7
Author: Smash Balloon
8
Author URI: http://smashballoon.com/
9
License: GPLv2 or later
@@ -969,6 +969,7 @@ function display_cff($atts) {
969
isset( $event_object->start_time ) ? $event_time = $event_object->start_time : $event_time = '';
970
//If timezone migration is enabled then remove last 5 characters
971
if ( strlen($event_time) == 24 ) $event_time = substr($event_time, 0, -5);
972
if (!empty($event_time)) $cff_event_date = '<p class="cff-date" '.$cff_event_date_styles.'>' . cff_eventdate(strtotime($event_time), $cff_event_date_formatting, $cff_event_date_custom) . '</p>';
973
//EVENT
974
//Display the event details
@@ -1617,7 +1618,7 @@ add_action( 'wp_footer', 'cff_js' );
1617
function cff_js() {
1618
$options = get_option('cff_style_settings');
1619
$cff_custom_js = isset($options[ 'cff_custom_js' ]) ? $options[ 'cff_custom_js' ] : '';
1620
- $cff_link_hashtags = $options[ 'cff_link_hashtags' ];
1621
($cff_link_hashtags == 'true' || $cff_link_hashtags == 'on') ? $cff_link_hashtags = 'true' : $cff_link_hashtags = 'false';
1622
1623
echo '<!-- Custom Facebook Feed JS -->';
@@ -1960,5 +1961,5 @@ function cff_autolink_email($text, $tagfill=''){
1960
1961
1962
//Comment out the line below to view errors
1963
- // error_reporting(0);
1964
?>
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.9.9.2
7
Author: Smash Balloon
8
Author URI: http://smashballoon.com/
9
License: GPLv2 or later
969
isset( $event_object->start_time ) ? $event_time = $event_object->start_time : $event_time = '';
970
//If timezone migration is enabled then remove last 5 characters
971
if ( strlen($event_time) == 24 ) $event_time = substr($event_time, 0, -5);
972
+ $cff_event_date = '';
973
if (!empty($event_time)) $cff_event_date = '<p class="cff-date" '.$cff_event_date_styles.'>' . cff_eventdate(strtotime($event_time), $cff_event_date_formatting, $cff_event_date_custom) . '</p>';
974
//EVENT
975
//Display the event details
1618
function cff_js() {
1619
$options = get_option('cff_style_settings');
1620
$cff_custom_js = isset($options[ 'cff_custom_js' ]) ? $options[ 'cff_custom_js' ] : '';
1621
+ isset($options[ 'cff_link_hashtags' ]) ? $cff_link_hashtags = $options[ 'cff_link_hashtags' ] : $cff_link_hashtags = 'true';
1622
($cff_link_hashtags == 'true' || $cff_link_hashtags == 'on') ? $cff_link_hashtags = 'true' : $cff_link_hashtags = 'false';
1623
1624
echo '<!-- Custom Facebook Feed JS -->';
1961
1962
1963
//Comment out the line below to view errors
1964
+ //error_reporting(0);
1965
?>