Custom Facebook Feed - Version 2.4.1.1

Version Description

  • Fix: Fixed a JavaScript error in the admin area when using WordPress 4.5
Download this release

Release Info

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

Code changes from version 2.4.1 to 2.4.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 groups, Facebook fans, Facebook likes, Facebook followers, Facebooks, Face book, posts, Facebook postings, Facebook feeds, Facebook pages, Facebook Like Box, Facebook plugin, Facebook plug-in, Facebook walls, Facebook hashtag, Facebook embed, Customizable Facebook Feed, custom, customizable, seo, responsive, mobile, social media
4
  Requires at least: 3.0
5
  Tested up to: 4.5
6
- Stable tag: 2.4.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -361,6 +361,9 @@ Credit iMarketing Factory - "The Importance of Facebook for Small Businesses"
361
  9. It's super easy to display your Facebook feed in any page or post
362
 
363
  == Changelog ==
 
 
 
364
  = 2.4.1 =
365
  * New: If a post contains either a photo or video then an icon and link are now added to view it on Facebook. You can disable this by unchecking the "Media Link" option in the following location: Customize > Post Layout > Show/Hide. You can also remove it by using the "exclude" shortcode option: exclude="medialink". You can translate or change the text for this link on the "Custom Text / Translate" settings page.
366
  * Tweak: Tested with WordPress 4.5
3
  Tags: Facebook, Facebook feed, Facebook posts, Facebook wall, Facebook events, Facebook page, Facebook group, Facebook groups, Facebook fans, Facebook likes, Facebook followers, Facebooks, Face book, posts, Facebook postings, Facebook feeds, Facebook pages, Facebook Like Box, Facebook plugin, Facebook plug-in, Facebook walls, Facebook hashtag, Facebook embed, Customizable Facebook Feed, custom, customizable, seo, responsive, mobile, social media
4
  Requires at least: 3.0
5
  Tested up to: 4.5
6
+ Stable tag: 2.4.1.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
361
  9. It's super easy to display your Facebook feed in any page or post
362
 
363
  == Changelog ==
364
+ = 2.4.1.1 =
365
+ * Fix: Fixed a JavaScript error in the admin area when using WordPress 4.5
366
+
367
  = 2.4.1 =
368
  * New: If a post contains either a photo or video then an icon and link are now added to view it on Facebook. You can disable this by unchecking the "Media Link" option in the following location: Customize > Post Layout > Show/Hide. You can also remove it by using the "exclude" shortcode option: exclude="medialink". You can translate or change the text for this link on the "Custom Text / Translate" settings page.
369
  * Tweak: Tested with WordPress 4.5
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 completely customizable Facebook feeds to your WordPress site
6
- Version: 2.4.1
7
  Author: Smash Balloon
8
  Author URI: http://smashballoon.com/
9
  License: GPLv2 or later
@@ -26,7 +26,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26
  //Include admin
27
  include dirname( __FILE__ ) .'/custom-facebook-feed-admin.php';
28
 
29
- define('CFFVER', '2.4.1');
30
 
31
  // Add shortcodes
32
  add_shortcode('custom-facebook-feed', 'display_cff');
3
  Plugin Name: Custom Facebook Feed
4
  Plugin URI: http://smashballoon.com/custom-facebook-feed
5
  Description: Add completely customizable Facebook feeds to your WordPress site
6
+ Version: 2.4.1.1
7
  Author: Smash Balloon
8
  Author URI: http://smashballoon.com/
9
  License: GPLv2 or later
26
  //Include admin
27
  include dirname( __FILE__ ) .'/custom-facebook-feed-admin.php';
28
 
29
+ define('CFFVER', '2.4.1.1');
30
 
31
  // Add shortcodes
32
  add_shortcode('custom-facebook-feed', 'display_cff');
js/cff-admin-scripts.js CHANGED
@@ -112,10 +112,10 @@ jQuery(document).ready(function($) {
112
  }
113
 
114
  //Scroll to hash for quick links
115
- jQuery('#cff-admin a[href*=#]:not([href=#])').click(function() {
116
  if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
117
  var target = jQuery(this.hash);
118
- target = target.length ? target : jQuery('[name=' + this.hash.slice(1) +']');
119
  if (target.length) {
120
  jQuery('html,body').animate({
121
  scrollTop: target.offset().top
112
  }
113
 
114
  //Scroll to hash for quick links
115
+ jQuery('#cff-admin a').click(function() {
116
  if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
117
  var target = jQuery(this.hash);
118
+ target = target.length ? target : this.hash.slice(1);
119
  if (target.length) {
120
  jQuery('html,body').animate({
121
  scrollTop: target.offset().top