Custom Facebook Feed - Version 1.9.8.1

Version Description

  • Fix: Fixed an admin JavaScript error introduced by the last update
Download this release

Release Info

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

Code changes from version 1.9.8 to 1.9.8.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.8
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.8 =
273
* Tweak: The Access Token field is now hidden by default and is revealed by a checkbox
274
* Fix: Fixed an issue with link colors not being applied to all links
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.8.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.8.1 =
273
+ * Fix: Fixed an admin JavaScript error introduced by the last update
274
+
275
= 1.9.8 =
276
* Tweak: The Access Token field is now hidden by default and is revealed by a checkbox
277
* Fix: Fixed an issue with link colors not being applied to all links
custom-facebook-feed-admin.php CHANGED
@@ -2460,7 +2460,7 @@ function cff_admin_style() {
2460
add_action( 'admin_enqueue_scripts', 'cff_admin_style' );
2461
//Enqueue admin scripts
2462
function cff_admin_scripts() {
2463
- wp_enqueue_script( 'cff_admin_script', plugin_dir_url( __FILE__ ) . 'js/cff-admin-scripts.js?5' );
2464
if( !wp_script_is('jquery-ui-draggable') ) {
2465
wp_enqueue_script(
2466
array(
2460
add_action( 'admin_enqueue_scripts', 'cff_admin_style' );
2461
//Enqueue admin scripts
2462
function cff_admin_scripts() {
2463
+ wp_enqueue_script( 'cff_admin_script', plugin_dir_url( __FILE__ ) . 'js/cff-admin-scripts.js?6' );
2464
if( !wp_script_is('jquery-ui-draggable') ) {
2465
wp_enqueue_script(
2466
array(
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.8
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.8.1
7
Author: Smash Balloon
8
Author URI: http://smashballoon.com/
9
License: GPLv2 or later
js/cff-admin-scripts.js CHANGED
@@ -5,23 +5,6 @@ jQuery(document).ready(function() {
5
jQuery(this).closest('tr').find('.cff-tooltip').slideToggle();
6
});
7
8
- //Check Access Token length
9
- jQuery("#cff_access_token").change(function() {
10
- checkAccessTokenLength();
11
- });
12
- function checkAccessTokenLength(){
13
- var cff_token_string = jQuery('#cff_access_token').val(),
14
- cff_token_check = cff_token_string.indexOf('|');
15
-
16
- if ( (cff_token_check == -1) && (cff_token_string.length < 50) && (cff_token_string.length !== 0) ) {
17
- jQuery('.cff-profile-error.cff-access-token').fadeIn();
18
- } else {
19
- jQuery('.cff-profile-error.cff-access-token').fadeOut();
20
- }
21
- }
22
- checkAccessTokenLength();
23
-
24
-
25
//Toggle Access Token field
26
if( jQuery('#cff_show_access_token').is(':checked') ) jQuery('.cff-access-token-hidden').show();
27
jQuery('#cff_show_access_token').change(function(){
5
jQuery(this).closest('tr').find('.cff-tooltip').slideToggle();
6
});
7
8
//Toggle Access Token field
9
if( jQuery('#cff_show_access_token').is(':checked') ) jQuery('.cff-access-token-hidden').show();
10
jQuery('#cff_show_access_token').change(function(){