Custom Facebook Feed - Version 1.9.9.1

Version Description

  • Fix: Fixed an occasional issue with hashtags in inline CSS inadvertently being linked
Download this release

Release Info

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

Code changes from version 1.9.9 to 1.9.9.1

Files changed (3) hide show
  1. README.txt +4 -1
  2. custom-facebook-feed.php +1 -1
  3. js/cff-scripts.js +1 -1
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
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 =
273
  * New: Hashtags in your posts are now linked to the hashtag search on Facebook. This can be disabled in the 'Post Text' section on the Typography settings page.
274
  * New: Added a Facebook icon to the Custom Facebook Feed admin menu
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
  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
+
275
  = 1.9.9 =
276
  * New: Hashtags in your posts are now linked to the hashtag search on Facebook. This can be disabled in the 'Post Text' section on the Typography settings page.
277
  * New: Added a Facebook icon to the Custom Facebook Feed admin menu
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
7
  Author: Smash Balloon
8
  Author URI: http://smashballoon.com/
9
  License: GPLv2 or later
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
js/cff-scripts.js CHANGED
@@ -59,7 +59,7 @@ jQuery(document).ready(function() {
59
  //Link hashtags
60
  if(cfflinkhashtags == 'true'){
61
  var str = $self.find('.cff-text').html(),
62
- regex = /\B#\w*[a-zA-Z]+\w*/gi,
63
  linkcolor = $self.find('.cff-text').attr('rel');
64
 
65
  function replacer(hash){
59
  //Link hashtags
60
  if(cfflinkhashtags == 'true'){
61
  var str = $self.find('.cff-text').html(),
62
+ regex = /(?:\s|^)(?:#(?!\d+(?:\s|$)))(\w+)(?=\s|$)/gi,
63
  linkcolor = $self.find('.cff-text').attr('rel');
64
 
65
  function replacer(hash){