Version Description
[19-10-2019] 1. Version update and Compatible with wp 5.2.4 2. Updated: Security Nonce and permission check.
Download this release
Release Info
Developer | weblizar |
Plugin | Feed & LikeBox For Facebook |
Version | 2.8.8 |
Comparing to | |
See all releases |
Code changes from version 2.8.7 to 2.8.8
- css/facebook-feed-shortcode.css +3 -0
- css/weblizar-option-style.css +1 -1
- facebook-by-weblizar.php +1 -1
- function/facebook-by-weblizar-widgets.php +1 -1
- function/facebook-feed-shortcode-data.php +5 -10
- function/facebook-feed-widget.php +2 -2
- function/facebook-feed.php +1 -1
- function/help-body.php +0 -1
- readme.txt +6 -2
css/facebook-feed-shortcode.css
CHANGED
@@ -1021,4 +1021,7 @@ margin-top: 10px !important;
|
|
1021 |
font-size: 14px !important;
|
1022 |
word-wrap: break-word;
|
1023 |
/*display: block !important;*/
|
|
|
|
|
|
|
1024 |
}
|
1021 |
font-size: 14px !important;
|
1022 |
word-wrap: break-word;
|
1023 |
/*display: block !important;*/
|
1024 |
+
}
|
1025 |
+
ul.nav.navbar-nav {
|
1026 |
+
display: inline-block;
|
1027 |
}
|
css/weblizar-option-style.css
CHANGED
@@ -1417,4 +1417,4 @@ user-select: none;
|
|
1417 |
}
|
1418 |
select#ffp_light_Box {
|
1419 |
width: 220px;
|
1420 |
-
}
|
1417 |
}
|
1418 |
select#ffp_light_Box {
|
1419 |
width: 220px;
|
1420 |
+
}
|
facebook-by-weblizar.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Social LikeBox & Feed
|
4 |
-
* Version: 2.8.
|
5 |
* Description: Display the Facebook Feed and Like box on your website. Its completely customizable, responsive and search engine optimization feeds and like-box contents.
|
6 |
* Author: Weblizar
|
7 |
* Author URI: https://www.weblizar.com
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Social LikeBox & Feed
|
4 |
+
* Version: 2.8.8
|
5 |
* Description: Display the Facebook Feed and Like box on your website. Its completely customizable, responsive and search engine optimization feeds and like-box contents.
|
6 |
* Author: Weblizar
|
7 |
* Author URI: https://www.weblizar.com
|
function/facebook-by-weblizar-widgets.php
CHANGED
@@ -155,7 +155,7 @@ class WeblizarFacebook extends WP_Widget {
|
|
155 |
}
|
156 |
|
157 |
else {
|
158 |
-
$title =
|
159 |
}
|
160 |
?>
|
161 |
<p>
|
155 |
}
|
156 |
|
157 |
else {
|
158 |
+
$title = esc_html__( 'LikeBox', 'WEBLIZAR_FACEBOOK_TEXT_DOMAIN' );
|
159 |
}
|
160 |
?>
|
161 |
<p>
|
function/facebook-feed-shortcode-data.php
CHANGED
@@ -236,8 +236,7 @@ $page_timeline_string="https://graph.facebook.com/v2.10/".$ffp_page_url."?access
|
|
236 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('data-id', $(this).find('dialog').attr('data-id'));
|
237 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-type', $(this).find('dialog').attr('feed-type'));
|
238 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-post', $(this).find('dialog').attr('feed-post'));
|
239 |
-
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-token', $(this).find('dialog').attr('feed-token'));
|
240 |
-
|
241 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('data-id', $(this).find('dialog').attr('data-id'));
|
242 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('feed-type', $(this).find('dialog').attr('feed-type'));
|
243 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('feed-post', $(this).find('dialog').attr('feed-post'));
|
@@ -288,8 +287,7 @@ $page_timeline_string="https://graph.facebook.com/v2.10/".$ffp_page_url."?access
|
|
288 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('data-id', $NewCurrent.find('dialog').attr('data-id'));
|
289 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-type', $NewCurrent.find('dialog').attr('feed-type'));
|
290 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-post', $NewCurrent.find('dialog').attr('feed-post'));
|
291 |
-
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-token', $NewCurrent.find('dialog').attr('feed-token'));
|
292 |
-
|
293 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('data-id', $NewCurrent.find('dialog').attr('data-id'));
|
294 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('feed-type', $NewCurrent.find('dialog').attr('feed-type'));
|
295 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('feed-post', $NewCurrent.find('dialog').attr('feed-post'));
|
@@ -336,8 +334,7 @@ $page_timeline_string="https://graph.facebook.com/v2.10/".$ffp_page_url."?access
|
|
336 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('data-id', $NewCurrent.find('dialog').attr('data-id'));
|
337 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-type', $NewCurrent.find('dialog').attr('feed-type'));
|
338 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-post', $NewCurrent.find('dialog').attr('feed-post'));
|
339 |
-
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-token', $NewCurrent.find('dialog').attr('feed-token'));
|
340 |
-
|
341 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('data-id', $NewCurrent.find('dialog').attr('data-id'));
|
342 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('feed-type', $NewCurrent.find('dialog').attr('feed-type'));
|
343 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('feed-post', $NewCurrent.find('dialog').attr('feed-post'));
|
@@ -399,8 +396,7 @@ $page_timeline_string="https://graph.facebook.com/v2.10/".$ffp_page_url."?access
|
|
399 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('data-id', $NewCurrent.find('dialog').attr('data-id'));
|
400 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-type', $NewCurrent.find('dialog').attr('feed-type'));
|
401 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-post', $NewCurrent.find('dialog').attr('feed-post'));
|
402 |
-
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-token', $NewCurrent.find('dialog').attr('feed-token'));
|
403 |
-
|
404 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('data-id', $NewCurrent.find('dialog').attr('data-id'));
|
405 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('feed-type', $NewCurrent.find('dialog').attr('feed-type'));
|
406 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('feed-post', $NewCurrent.find('dialog').attr('feed-post'));
|
@@ -449,8 +445,7 @@ $page_timeline_string="https://graph.facebook.com/v2.10/".$ffp_page_url."?access
|
|
449 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('data-id', $NewCurrent.find('dialog').attr('data-id'));
|
450 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-type', $NewCurrent.find('dialog').attr('feed-type'));
|
451 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-post', $NewCurrent.find('dialog').attr('feed-post'));
|
452 |
-
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-token', $NewCurrent.find('dialog').attr('feed-token'));
|
453 |
-
|
454 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('data-id', $NewCurrent.find('dialog').attr('data-id'));
|
455 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('feed-type', $NewCurrent.find('dialog').attr('feed-type'));
|
456 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('feed-post', $NewCurrent.find('dialog').attr('feed-post'));
|
236 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('data-id', $(this).find('dialog').attr('data-id'));
|
237 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-type', $(this).find('dialog').attr('feed-type'));
|
238 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-post', $(this).find('dialog').attr('feed-post'));
|
239 |
+
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-token', $(this).find('dialog').attr('feed-token'));
|
|
|
240 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('data-id', $(this).find('dialog').attr('data-id'));
|
241 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('feed-type', $(this).find('dialog').attr('feed-type'));
|
242 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('feed-post', $(this).find('dialog').attr('feed-post'));
|
287 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('data-id', $NewCurrent.find('dialog').attr('data-id'));
|
288 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-type', $NewCurrent.find('dialog').attr('feed-type'));
|
289 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-post', $NewCurrent.find('dialog').attr('feed-post'));
|
290 |
+
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-token', $NewCurrent.find('dialog').attr('feed-token'));
|
|
|
291 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('data-id', $NewCurrent.find('dialog').attr('data-id'));
|
292 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('feed-type', $NewCurrent.find('dialog').attr('feed-type'));
|
293 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('feed-post', $NewCurrent.find('dialog').attr('feed-post'));
|
334 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('data-id', $NewCurrent.find('dialog').attr('data-id'));
|
335 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-type', $NewCurrent.find('dialog').attr('feed-type'));
|
336 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-post', $NewCurrent.find('dialog').attr('feed-post'));
|
337 |
+
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-token', $NewCurrent.find('dialog').attr('feed-token'));
|
|
|
338 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('data-id', $NewCurrent.find('dialog').attr('data-id'));
|
339 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('feed-type', $NewCurrent.find('dialog').attr('feed-type'));
|
340 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('feed-post', $NewCurrent.find('dialog').attr('feed-post'));
|
396 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('data-id', $NewCurrent.find('dialog').attr('data-id'));
|
397 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-type', $NewCurrent.find('dialog').attr('feed-type'));
|
398 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-post', $NewCurrent.find('dialog').attr('feed-post'));
|
399 |
+
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-token', $NewCurrent.find('dialog').attr('feed-token'));
|
|
|
400 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('data-id', $NewCurrent.find('dialog').attr('data-id'));
|
401 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('feed-type', $NewCurrent.find('dialog').attr('feed-type'));
|
402 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('feed-post', $NewCurrent.find('dialog').attr('feed-post'));
|
445 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('data-id', $NewCurrent.find('dialog').attr('data-id'));
|
446 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-type', $NewCurrent.find('dialog').attr('feed-type'));
|
447 |
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-post', $NewCurrent.find('dialog').attr('feed-post'));
|
448 |
+
$('.weblizar-fb-product-popup-content a#nav-btn-next').attr('feed-token', $NewCurrent.find('dialog').attr('feed-token'));
|
|
|
449 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('data-id', $NewCurrent.find('dialog').attr('data-id'));
|
450 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('feed-type', $NewCurrent.find('dialog').attr('feed-type'));
|
451 |
$('.weblizar-fb-product-popup-content a#nav-btn-prev').attr('feed-post', $NewCurrent.find('dialog').attr('feed-post'));
|
function/facebook-feed-widget.php
CHANGED
@@ -293,7 +293,7 @@ class Weblizar_facebook_feed_widget extends WP_Widget
|
|
293 |
$Title = $instance[ 'Title' ];
|
294 |
} else
|
295 |
{
|
296 |
-
$Title =
|
297 |
}
|
298 |
|
299 |
if ( isset( $instance[ 'Shortcode' ] ) )
|
@@ -301,7 +301,7 @@ class Weblizar_facebook_feed_widget extends WP_Widget
|
|
301 |
$Shortcode = $instance[ 'Shortcode' ];
|
302 |
} else
|
303 |
{
|
304 |
-
$Shortcode =
|
305 |
}
|
306 |
?>
|
307 |
<p>
|
293 |
$Title = $instance[ 'Title' ];
|
294 |
} else
|
295 |
{
|
296 |
+
$Title = esc_html__("Facebook Feed", WEBLIZAR_FACEBOOK_TEXT_DOMAIN);
|
297 |
}
|
298 |
|
299 |
if ( isset( $instance[ 'Shortcode' ] ) )
|
301 |
$Shortcode = $instance[ 'Shortcode' ];
|
302 |
} else
|
303 |
{
|
304 |
+
$Shortcode = esc_html__("Select Any Facebook Feed Shortcode", WEBLIZAR_FACEBOOK_TEXT_DOMAIN);
|
305 |
}
|
306 |
?>
|
307 |
<p>
|
function/facebook-feed.php
CHANGED
@@ -56,7 +56,7 @@ if(isset($facebook_feed_fetch["ffp_page_id"])){ $ffp_page_id=$facebook_feed_fet
|
|
56 |
<label class="ffp_font_bold"><?php esc_html_e('Facebook Access Token:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></label>
|
57 |
</div>
|
58 |
<div class="ffp_set_l col-md-6">
|
59 |
-
<input type="text" id="ffp_page_id" name="ffp_page_id" value="<?php if(isset($ffp_page_id)) { echo esc_attr( $ffp_page_id );} else {echo "
|
60 |
</div>
|
61 |
<div class="ffp_set_l col-md-6"></div>
|
62 |
<div class="ffp_set_l col-md-6"><a href="https://weblizar.com/blog/generate-facebook-access-token/" style="width:100%"><?php esc_html_e('get your access token.', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></a>
|
56 |
<label class="ffp_font_bold"><?php esc_html_e('Facebook Access Token:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></label>
|
57 |
</div>
|
58 |
<div class="ffp_set_l col-md-6">
|
59 |
+
<input type="text" id="ffp_page_id" name="ffp_page_id" value="<?php if(isset($ffp_page_id)) { echo esc_attr( $ffp_page_id );} else {echo "EAAETHMFXDyMBAL5uQJfUQXO8uif3recXPjo8PPSbiLTtBsZBVPGxd6cshFjv7MVJwaODhScG6StiScG6go7jpDxaiwLKhcdTjqxrZAce6M5wXAidvAGnPirKLeGBNbCLixDr1oE2QO68uvDWy1227ZAWeRCVLQfK5Lb3HWuiQZDZD";} ?>" style="width:100%">
|
60 |
</div>
|
61 |
<div class="ffp_set_l col-md-6"></div>
|
62 |
<div class="ffp_set_l col-md-6"><a href="https://weblizar.com/blog/generate-facebook-access-token/" style="width:100%"><?php esc_html_e('get your access token.', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></a>
|
function/help-body.php
CHANGED
@@ -9,7 +9,6 @@
|
|
9 |
<form name='fb-form' id='fb-form'>
|
10 |
<?php $nonce = wp_create_nonce( 'facebook_shortcode_settings' ); ?>
|
11 |
<input type="hidden" name="security" value="<?php echo esc_attr( $nonce ); ?>">
|
12 |
-
|
13 |
<p>
|
14 |
<p><label class="ffp_font_bold"><?php esc_html_e( 'Facebook Page URL or ID', WEBLIZAR_FACEBOOK_TEXT_DOMAIN); ?></label></p>
|
15 |
<input class="widefat" id="facebook-page-url" name="facebook-page-url" type="text" value="<?php echo esc_attr( $FacebookPageUrl ); ?>">
|
9 |
<form name='fb-form' id='fb-form'>
|
10 |
<?php $nonce = wp_create_nonce( 'facebook_shortcode_settings' ); ?>
|
11 |
<input type="hidden" name="security" value="<?php echo esc_attr( $nonce ); ?>">
|
|
|
12 |
<p>
|
13 |
<p><label class="ffp_font_bold"><?php esc_html_e( 'Facebook Page URL or ID', WEBLIZAR_FACEBOOK_TEXT_DOMAIN); ?></label></p>
|
14 |
<input class="widefat" id="facebook-page-url" name="facebook-page-url" type="text" value="<?php echo esc_attr( $FacebookPageUrl ); ?>">
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: weblizar
|
|
3 |
Donate link: https://www.weblizar.com/
|
4 |
Tags: facebook, facebook feed, facebook like box, facebook posts, facebook page, FaceBook posts, facebook widget, FaceBook profile, FaceBook group, facebook page feed, facebook page like box, feed, likebox
|
5 |
Requires at least: 3.8
|
6 |
-
Tested up to: 5.2.
|
7 |
-
Stable tag: 2.8.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -216,6 +216,10 @@ For more information, see [Weblizar](https://weblizar.com/) .
|
|
216 |
|
217 |
== Changelog ==
|
218 |
|
|
|
|
|
|
|
|
|
219 |
= 2.8.7 = [19-08-2019]
|
220 |
1. Change remote calls to use WordPress HTTP API.
|
221 |
2. Update bootstrap to the latest version.
|
3 |
Donate link: https://www.weblizar.com/
|
4 |
Tags: facebook, facebook feed, facebook like box, facebook posts, facebook page, FaceBook posts, facebook widget, FaceBook profile, FaceBook group, facebook page feed, facebook page like box, feed, likebox
|
5 |
Requires at least: 3.8
|
6 |
+
Tested up to: 5.2.4
|
7 |
+
Stable tag: 2.8.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
216 |
|
217 |
== Changelog ==
|
218 |
|
219 |
+
= 2.8.8 = [19-10-2019]
|
220 |
+
1. Version update and Compatible with wp 5.2.4
|
221 |
+
2. Updated: Security Nonce and permission check.
|
222 |
+
|
223 |
= 2.8.7 = [19-08-2019]
|
224 |
1. Change remote calls to use WordPress HTTP API.
|
225 |
2. Update bootstrap to the latest version.
|