Version Description
Fixed CSRF issue
Download this release
Release Info
Developer | DaNish Ali |
Plugin | Easy Facebook Like Box (Facebook Page Plugin) – Custom Facebook Feed – Auto PopUp |
Version | 4.4.3 |
Comparing to | |
See all releases |
Code changes from version 4.4.1 to 4.4.3
- LICENSE.txt +0 -0
- README.txt +25 -5
- admin/assets/css/admin.css +0 -1
- admin/assets/css/index.php +0 -0
- admin/assets/js/admin.js +4 -2
- admin/assets/js/index.php +0 -0
- admin/easy-facebook-likebox-admin.php +2 -1
- admin/includes/index.php +0 -0
- admin/views/admin.php +9 -9
- admin/views/feed-settings.php +0 -0
- admin/views/index.php +0 -0
- admin/views/instructinos.php +0 -0
- admin/views/popup-settings-advanced.php +0 -0
- admin/views/popup-settings.php +0 -0
- admin/views/support-us.php +0 -0
- assets/PluginIcon - Copy.png +0 -0
- assets/PluginIcon.png +0 -0
- assets/banner-772x250.jpg +0 -0
- assets/banner-772x250.png +0 -0
- assets/index.php +0 -0
- assets/screenshot-1.png +0 -0
- assets/screenshot-2.png +0 -0
- assets/screenshot-3.png +0 -0
- assets/screenshot-4.png +0 -0
- assets/screenshot-5.png +0 -0
- assets/screenshot-6.png +0 -0
- assets/screenshot-7.png +0 -0
- easy-facebook-likebox.php +23 -12
- freemius/assets/img/easy-facebook-likebox.png +0 -0
- includes/easy-custom-facebook-feed-widget.php +0 -0
- includes/easy-facebook-likebox-widget.php +0 -0
- includes/easy-facebook-page-plugin-widget.php +0 -0
- includes/index.php +0 -0
- index.php +0 -0
- languages/easy-facebook-likebox-pl_PL.mo +0 -0
- languages/easy-facebook-likebox-pl_PL.po +0 -0
- languages/easy-facebook-likebox.pot +0 -0
- languages/index.php +0 -0
- public/assets/css/animate.css +0 -0
- public/assets/css/font-awesome.css +0 -0
- public/assets/css/index.php +0 -0
- public/assets/css/popup_close.png +0 -0
- public/assets/css/public.css +0 -0
- public/assets/fonts/FontAwesome.otf +0 -0
- public/assets/fonts/fontawesome-webfont.eot +0 -0
- public/assets/fonts/fontawesome-webfont.svg +0 -0
- public/assets/fonts/fontawesome-webfont.ttf +0 -0
- public/assets/fonts/fontawesome-webfont.woff +0 -0
- public/assets/fonts/fontawesome-webfont.woff2 +0 -0
- public/assets/images/facebook.png +0 -0
- public/assets/images/linkedin-16.png +0 -0
- public/assets/images/loader.gif +0 -0
- public/assets/images/loader_icon.gif +0 -0
- public/assets/images/plus.png +0 -0
- public/assets/images/popup_close.png +0 -0
- public/assets/images/square-google-plus-16.png +0 -0
- public/assets/images/twitter-16.png +0 -0
- public/assets/index.php +0 -0
- public/assets/js/index.php +0 -0
- public/assets/js/jquery.cookie.js +0 -0
- public/assets/js/public.js +0 -0
- public/assets/popup/jquery.magnific-popup.js +0 -0
- public/assets/popup/jquery.magnific-popup.min.js +0 -0
- public/assets/popup/magnific-popup.css +0 -0
- public/easy-facebook-likebox.php +1 -1
- public/includes/Mobile_Detect.php +0 -0
- public/includes/core-functions.php +4 -22
- public/includes/index.php +0 -0
- public/views/feed.php +3 -1
- public/views/filters.txt +0 -0
- public/views/index.php +0 -0
- public/views/public.php +0 -0
- uninstall.php +0 -0
LICENSE.txt
CHANGED
File without changes
|
README.txt
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
-
=== Easy
|
2 |
Contributors: maltathemes, sjaved
|
3 |
Tags: easy custom facebook feed, facebook feed, facebook page plugin, page plugin, adoptive, facebook, facebook like box,, like box, facebook like box, facebook like box widget, facebook like box shortcodes, shortcodes, facebook like box plugin, facebook like box wordpress plugin, plugin, responsive facebook like box, responsive, facebook like box in 75 locales, facebook like box in 75 languages, custom facebook feed, facebook like box in PopUp, PopUp, Auto PopUp, like box in PopUp, fancybox, lightbox, seo, social media, facebook badge, facebook button, facebook connect, facebook facepile, Facebook fan page, wordpress facebook like box, facebook share, facebook integration, shortcode generator, advanced responsive facebook likebox, facebook wall, facebook sidebar, facebook recommend, like box facebook, open graph, facebook page, facebook group, rt facebook like box, sharebar
|
4 |
Requires at least: 3.3
|
5 |
-
Tested up to: 5.2.
|
6 |
-
Stable tag: 4.4.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
10 |
-
Easy
|
11 |
|
12 |
== Description ==
|
13 |
|
@@ -108,6 +108,16 @@ Danish Ali Malik
|
|
108 |
3. Navigate to "Appearance > Widgets" and drag and drop "Easy Facebook Likebox" in desired widget area or use the shortcode in page/post generated by widget.
|
109 |
|
110 |
== Upgrade Notice ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
= 4.4.1 =
|
112 |
Optimized API calls
|
113 |
Tested Upto 5.2.2
|
@@ -212,7 +222,7 @@ To submit your feedback, suggestions and features request follow the below link.
|
|
212 |
http://wordpress.org/support/topic/need-feed-back-on-plugin-feature/
|
213 |
|
214 |
== Screenshots ==
|
215 |
-
1. Custom Facebook Feed with
|
216 |
2. Custom Facebook Feed in PopUp.
|
217 |
3. Responsive Custom Facebook Feed.
|
218 |
4. Facebook Like Box/ Page Plugin in Auto PopUp.
|
@@ -223,6 +233,16 @@ http://wordpress.org/support/topic/need-feed-back-on-plugin-feature/
|
|
223 |
9. Auto PopUp settings panel.
|
224 |
|
225 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
= 4.4.1 =
|
227 |
* Optimized: API calls
|
228 |
* Tested: Upto 5.2.2
|
1 |
+
=== Easy Social Post Feed - Page Plugin - Auto PopUp ===
|
2 |
Contributors: maltathemes, sjaved
|
3 |
Tags: easy custom facebook feed, facebook feed, facebook page plugin, page plugin, adoptive, facebook, facebook like box,, like box, facebook like box, facebook like box widget, facebook like box shortcodes, shortcodes, facebook like box plugin, facebook like box wordpress plugin, plugin, responsive facebook like box, responsive, facebook like box in 75 locales, facebook like box in 75 languages, custom facebook feed, facebook like box in PopUp, PopUp, Auto PopUp, like box in PopUp, fancybox, lightbox, seo, social media, facebook badge, facebook button, facebook connect, facebook facepile, Facebook fan page, wordpress facebook like box, facebook share, facebook integration, shortcode generator, advanced responsive facebook likebox, facebook wall, facebook sidebar, facebook recommend, like box facebook, open graph, facebook page, facebook group, rt facebook like box, sharebar
|
4 |
Requires at least: 3.3
|
5 |
+
Tested up to: 5.2.3
|
6 |
+
Stable tag: 4.4.3
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
10 |
+
Formerly "Easy Facebook Like Box and Custom Facebook Feed" allows to display custom facebook feed, page plugin (like box), like button, using widget, shortcode, PopUp.
|
11 |
|
12 |
== Description ==
|
13 |
|
108 |
3. Navigate to "Appearance > Widgets" and drag and drop "Easy Facebook Likebox" in desired widget area or use the shortcode in page/post generated by widget.
|
109 |
|
110 |
== Upgrade Notice ==
|
111 |
+
= 4.4.3 =
|
112 |
+
Fixed CSRF issue
|
113 |
+
|
114 |
+
= 4.4.2 =
|
115 |
+
Added new app to optimize api calls
|
116 |
+
Changed plugin name from Easy Facebook Likebox to Easy Social Post Feed to remove their WORDMARK
|
117 |
+
Fixed security issues
|
118 |
+
Tested Upto 5.2.3
|
119 |
+
Fixed Minor issues
|
120 |
+
|
121 |
= 4.4.1 =
|
122 |
Optimized API calls
|
123 |
Tested Upto 5.2.2
|
222 |
http://wordpress.org/support/topic/need-feed-back-on-plugin-feature/
|
223 |
|
224 |
== Screenshots ==
|
225 |
+
1. Custom Facebook Feed with thumbnail.
|
226 |
2. Custom Facebook Feed in PopUp.
|
227 |
3. Responsive Custom Facebook Feed.
|
228 |
4. Facebook Like Box/ Page Plugin in Auto PopUp.
|
233 |
9. Auto PopUp settings panel.
|
234 |
|
235 |
== Changelog ==
|
236 |
+
= 4.4.3 =
|
237 |
+
* Fixed: CSRF issue
|
238 |
+
|
239 |
+
= 4.4.2 =
|
240 |
+
* Added: New app to optimize api calls
|
241 |
+
* Changed: Plugin name from Easy Facebook Likebox to Easy Social Post Feed to remove their WORDMARK
|
242 |
+
* Fixed: Security issues
|
243 |
+
* Tested: Upto 5.2.3
|
244 |
+
* Fixed: Minor issues
|
245 |
+
|
246 |
= 4.4.1 =
|
247 |
* Optimized: API calls
|
248 |
* Tested: Upto 5.2.2
|
admin/assets/css/admin.css
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
/* This stylesheet is used to style the admin option form of the plugin. */
|
2 |
.wrap.efbl{
|
3 |
-
width: 72%;
|
4 |
float: left;
|
5 |
margin-right: 0;
|
6 |
}
|
1 |
/* This stylesheet is used to style the admin option form of the plugin. */
|
2 |
.wrap.efbl{
|
|
|
3 |
float: left;
|
4 |
margin-right: 0;
|
5 |
}
|
admin/assets/css/index.php
CHANGED
File without changes
|
admin/assets/js/admin.js
CHANGED
@@ -44,7 +44,8 @@
|
|
44 |
|
45 |
|
46 |
var data = { action : 'efbl_del_trans',
|
47 |
-
efbl_option : efbl_option
|
|
|
48 |
}
|
49 |
|
50 |
|
@@ -77,7 +78,8 @@
|
|
77 |
|
78 |
|
79 |
var data = { action : 'efbl_save_access_token',
|
80 |
-
efbl_access_token : efbl_access_token
|
|
|
81 |
}
|
82 |
|
83 |
|
44 |
|
45 |
|
46 |
var data = { action : 'efbl_del_trans',
|
47 |
+
efbl_option : efbl_option,
|
48 |
+
nonce : efbl.nonce
|
49 |
}
|
50 |
|
51 |
|
78 |
|
79 |
|
80 |
var data = { action : 'efbl_save_access_token',
|
81 |
+
efbl_access_token : efbl_access_token,
|
82 |
+
nonce : efbl.nonce
|
83 |
}
|
84 |
|
85 |
|
admin/assets/js/index.php
CHANGED
File without changes
|
admin/easy-facebook-likebox-admin.php
CHANGED
@@ -162,7 +162,8 @@ class Easy_Facebook_Likebox_Admin {
|
|
162 |
* Localizing script to get admin-ajax url dynamically.
|
163 |
*/
|
164 |
wp_localize_script( $this->plugin_slug . '-admin-script', 'efbl', array(
|
165 |
-
'ajax_url' => admin_url( 'admin-ajax.php' )
|
|
|
166 |
));
|
167 |
}
|
168 |
|
162 |
* Localizing script to get admin-ajax url dynamically.
|
163 |
*/
|
164 |
wp_localize_script( $this->plugin_slug . '-admin-script', 'efbl', array(
|
165 |
+
'ajax_url' => admin_url( 'admin-ajax.php' ),
|
166 |
+
'nonce' => wp_create_nonce('efbl-ajax-nonce')
|
167 |
));
|
168 |
}
|
169 |
|
admin/includes/index.php
CHANGED
File without changes
|
admin/views/admin.php
CHANGED
@@ -50,7 +50,10 @@ $data = '';
|
|
50 |
<?php if( $active_tab == 'general' ) {
|
51 |
if(isset($_GET['access_token']))
|
52 |
$access_token = $_GET['access_token'];
|
53 |
-
|
|
|
|
|
|
|
54 |
// echo '<pre>'; print_r(get_option('efbl_access_token', false));exit;
|
55 |
?>
|
56 |
|
@@ -62,7 +65,7 @@ $data = '';
|
|
62 |
<p><?php _e('Log into your Facebook account using the button below and approve the plugin to connect your account.', 'easy-facebook-likebox'); ?></p>
|
63 |
|
64 |
<?php
|
65 |
-
$app_ID = array('222116127877068','405460652816219','256146211143372', '406362656509338','395202813876688');
|
66 |
$rand_app_ID = array_rand($app_ID, '1');
|
67 |
|
68 |
$u_app_ID = $app_ID[$rand_app_ID];
|
@@ -71,12 +74,14 @@ $data = '';
|
|
71 |
|
72 |
<table class="form-table">
|
73 |
<tbody>
|
74 |
-
<tr><th scope="row"><?php _e('Access Token', 'easy-facebook-likebox'); ?></th><td><textarea id="efbl_access_token"
|
75 |
</tr>
|
76 |
</tbody>
|
77 |
</table>
|
78 |
<div class="button_container">
|
|
|
79 |
<a class="efbl-save-access-token button button-primary" href="javascript:void(0);"><?php _e('Save Changes', 'easy-facebook-likebox'); ?></a>
|
|
|
80 |
</div>
|
81 |
|
82 |
<p><?php _e('Please note: This does not give us permission to manage your Facebook pages, it simply allows the plugin to see a list of the pages you manage and retrieve an Access Token.', 'easy-facebook-likebox'); ?></p>
|
@@ -173,12 +178,7 @@ foreach ( $results as $result )
|
|
173 |
</form>
|
174 |
</div>
|
175 |
|
176 |
-
|
177 |
-
<div id="mt-other-plugins" class="">
|
178 |
-
<!-- Our Plugins HTML-->
|
179 |
-
<iframe src="https://maltathemes.com/our-plugins/" height="400" width="680" style="border:0px;float:left;" id="mt-our-plugins" name="Our Plugins"></iframe>
|
180 |
-
</div>
|
181 |
-
</div>
|
182 |
|
183 |
<script type="text/javascript">
|
184 |
//<![CDATA[
|
50 |
<?php if( $active_tab == 'general' ) {
|
51 |
if(isset($_GET['access_token']))
|
52 |
$access_token = $_GET['access_token'];
|
53 |
+
$access_token = preg_replace('/[^A-Za-z0-9]/', "", $access_token);
|
54 |
+
if(isset($access_token ) && !empty($access_token)):
|
55 |
+
if(current_user_can('editor') || current_user_can('administrator')) update_option('efbl_access_token', $access_token);
|
56 |
+
endif;
|
57 |
// echo '<pre>'; print_r(get_option('efbl_access_token', false));exit;
|
58 |
?>
|
59 |
|
65 |
<p><?php _e('Log into your Facebook account using the button below and approve the plugin to connect your account.', 'easy-facebook-likebox'); ?></p>
|
66 |
|
67 |
<?php
|
68 |
+
$app_ID = array('222116127877068','405460652816219','256146211143372', '406362656509338','395202813876688', '673589909738017');
|
69 |
$rand_app_ID = array_rand($app_ID, '1');
|
70 |
|
71 |
$u_app_ID = $app_ID[$rand_app_ID];
|
74 |
|
75 |
<table class="form-table">
|
76 |
<tbody>
|
77 |
+
<tr><th scope="row"><?php _e('Access Token', 'easy-facebook-likebox'); ?></th><td><textarea id="efbl_access_token" name="efbl_access_token" rows="5" cols="50" placeholder=""><?php $efbl_access_token_db = get_option('efbl_access_token', false); echo esc_textarea($efbl_access_token_db); ?></textarea></td>
|
78 |
</tr>
|
79 |
</tbody>
|
80 |
</table>
|
81 |
<div class="button_container">
|
82 |
+
<?php if(!$efbl_access_token_db): ?>
|
83 |
<a class="efbl-save-access-token button button-primary" href="javascript:void(0);"><?php _e('Save Changes', 'easy-facebook-likebox'); ?></a>
|
84 |
+
<?php endif; ?>
|
85 |
</div>
|
86 |
|
87 |
<p><?php _e('Please note: This does not give us permission to manage your Facebook pages, it simply allows the plugin to see a list of the pages you manage and retrieve an Access Token.', 'easy-facebook-likebox'); ?></p>
|
178 |
</form>
|
179 |
</div>
|
180 |
|
181 |
+
|
|
|
|
|
|
|
|
|
|
|
182 |
|
183 |
<script type="text/javascript">
|
184 |
//<![CDATA[
|
admin/views/feed-settings.php
CHANGED
File without changes
|
admin/views/index.php
CHANGED
File without changes
|
admin/views/instructinos.php
CHANGED
File without changes
|
admin/views/popup-settings-advanced.php
CHANGED
File without changes
|
admin/views/popup-settings.php
CHANGED
File without changes
|
admin/views/support-us.php
CHANGED
File without changes
|
assets/PluginIcon - Copy.png
CHANGED
File without changes
|
assets/PluginIcon.png
CHANGED
File without changes
|
assets/banner-772x250.jpg
CHANGED
File without changes
|
assets/banner-772x250.png
CHANGED
File without changes
|
assets/index.php
CHANGED
File without changes
|
assets/screenshot-1.png
CHANGED
File without changes
|
assets/screenshot-2.png
CHANGED
File without changes
|
assets/screenshot-3.png
CHANGED
File without changes
|
assets/screenshot-4.png
CHANGED
File without changes
|
assets/screenshot-5.png
CHANGED
File without changes
|
assets/screenshot-6.png
CHANGED
File without changes
|
assets/screenshot-7.png
CHANGED
File without changes
|
easy-facebook-likebox.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Plugin Name: Easy
|
4 |
* Plugin URI: httt://wordpress.org/plugins/easy-facebook-likebox
|
5 |
-
* Description: Easy Facebook
|
6 |
-
* Version: 4.4.
|
7 |
* Author: Danish Ali Malik
|
8 |
* Author URI: https://maltathemes.com/danish-ali-malik
|
9 |
* Text Domain: easy-facebook-likebox
|
@@ -116,18 +116,19 @@ add_action( 'widgets_init', 'register_fblx_widget' );
|
|
116 |
|
117 |
add_action( 'wp_ajax_efbl_del_trans', 'efbl_del_trans_cb') ;
|
118 |
|
119 |
-
add_action( 'wp_ajax_nopriv_efbl_del_trans', 'efbl_del_trans_cb') ;
|
120 |
-
|
121 |
|
122 |
function efbl_del_trans_cb(){
|
123 |
|
124 |
/* Saving ajax value in variable. */
|
125 |
-
$value = $_POST['efbl_option'];
|
126 |
|
127 |
$replaced_value = str_replace('_transient_', '', $value);
|
128 |
|
129 |
-
$
|
130 |
-
|
|
|
|
|
|
|
131 |
if(isset($efbl_deleted_trans)) echo wp_send_json_success($value); die();
|
132 |
|
133 |
}
|
@@ -139,10 +140,20 @@ add_action( 'wp_ajax_efbl_save_access_token', 'efbl_save_access_token') ;
|
|
139 |
/* Saving ajax value in variable. */
|
140 |
$value = $_POST['efbl_access_token'];
|
141 |
|
142 |
-
|
143 |
-
|
144 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
|
146 |
-
|
|
|
147 |
|
148 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Plugin Name: Easy Social Post Feed
|
4 |
* Plugin URI: httt://wordpress.org/plugins/easy-facebook-likebox
|
5 |
+
* Description: Formerly "Easy Facebook Like Box and Custom Facebook Feed" plugin allows you to easily display facebook like box fan page on your website using either widget or shortcode to increase facbook fan page likes. You can use the shortcode generated after saving the facebook like box widget. Additionally it also now allows you to dipslay the cusetomized facebook feed on your website using the same color scheme of your website. Its completely customizable with lots of optional settings. Its also responsive facebook like box at the same time.
|
6 |
+
* Version: 4.4.3
|
7 |
* Author: Danish Ali Malik
|
8 |
* Author URI: https://maltathemes.com/danish-ali-malik
|
9 |
* Text Domain: easy-facebook-likebox
|
116 |
|
117 |
add_action( 'wp_ajax_efbl_del_trans', 'efbl_del_trans_cb') ;
|
118 |
|
|
|
|
|
119 |
|
120 |
function efbl_del_trans_cb(){
|
121 |
|
122 |
/* Saving ajax value in variable. */
|
123 |
+
$value = sanitize_text_field($_POST['efbl_option']);
|
124 |
|
125 |
$replaced_value = str_replace('_transient_', '', $value);
|
126 |
|
127 |
+
if(wp_verify_nonce( $_POST['nonce'], 'efbl-ajax-nonce' )):
|
128 |
+
if(current_user_can('editor') || current_user_can('administrator')):
|
129 |
+
$efbl_deleted_trans = delete_transient($replaced_value);
|
130 |
+
endif;
|
131 |
+
endif;
|
132 |
if(isset($efbl_deleted_trans)) echo wp_send_json_success($value); die();
|
133 |
|
134 |
}
|
140 |
/* Saving ajax value in variable. */
|
141 |
$value = $_POST['efbl_access_token'];
|
142 |
|
143 |
+
/* Only accept alphanumberic chars */
|
144 |
+
$value = preg_replace('/[^A-Za-z0-9]/', "", $value);
|
145 |
+
|
146 |
+
|
147 |
+
if(wp_verify_nonce( $_POST['nonce'], 'efbl-ajax-nonce' )):
|
148 |
+
if(current_user_can('editor') || current_user_can('administrator')):
|
149 |
+
$efbl_save_access_token = update_option('efbl_access_token', $value);
|
150 |
+
endif;
|
151 |
+
endif;
|
152 |
+
|
153 |
+
if(isset($efbl_save_access_token)):
|
154 |
+
echo wp_send_json_success($value); die();
|
155 |
|
156 |
+
else: echo wp_send_json_error('Something went wrong'); die();
|
157 |
+
endif;
|
158 |
|
159 |
}
|
freemius/assets/img/easy-facebook-likebox.png
CHANGED
File without changes
|
includes/easy-custom-facebook-feed-widget.php
CHANGED
File without changes
|
includes/easy-facebook-likebox-widget.php
CHANGED
File without changes
|
includes/easy-facebook-page-plugin-widget.php
CHANGED
File without changes
|
includes/index.php
CHANGED
File without changes
|
index.php
CHANGED
File without changes
|
languages/easy-facebook-likebox-pl_PL.mo
CHANGED
File without changes
|
languages/easy-facebook-likebox-pl_PL.po
CHANGED
File without changes
|
languages/easy-facebook-likebox.pot
CHANGED
File without changes
|
languages/index.php
CHANGED
File without changes
|
public/assets/css/animate.css
CHANGED
File without changes
|
public/assets/css/font-awesome.css
CHANGED
File without changes
|
public/assets/css/index.php
CHANGED
File without changes
|
public/assets/css/popup_close.png
CHANGED
File without changes
|
public/assets/css/public.css
CHANGED
File without changes
|
public/assets/fonts/FontAwesome.otf
CHANGED
File without changes
|
public/assets/fonts/fontawesome-webfont.eot
CHANGED
File without changes
|
public/assets/fonts/fontawesome-webfont.svg
CHANGED
File without changes
|
public/assets/fonts/fontawesome-webfont.ttf
CHANGED
File without changes
|
public/assets/fonts/fontawesome-webfont.woff
CHANGED
File without changes
|
public/assets/fonts/fontawesome-webfont.woff2
CHANGED
File without changes
|
public/assets/images/facebook.png
CHANGED
File without changes
|
public/assets/images/linkedin-16.png
CHANGED
File without changes
|
public/assets/images/loader.gif
CHANGED
File without changes
|
public/assets/images/loader_icon.gif
CHANGED
File without changes
|
public/assets/images/plus.png
CHANGED
File without changes
|
public/assets/images/popup_close.png
CHANGED
File without changes
|
public/assets/images/square-google-plus-16.png
CHANGED
File without changes
|
public/assets/images/twitter-16.png
CHANGED
File without changes
|
public/assets/index.php
CHANGED
File without changes
|
public/assets/js/index.php
CHANGED
File without changes
|
public/assets/js/jquery.cookie.js
CHANGED
File without changes
|
public/assets/js/public.js
CHANGED
File without changes
|
public/assets/popup/jquery.magnific-popup.js
CHANGED
File without changes
|
public/assets/popup/jquery.magnific-popup.min.js
CHANGED
File without changes
|
public/assets/popup/magnific-popup.css
CHANGED
File without changes
|
public/easy-facebook-likebox.php
CHANGED
@@ -34,7 +34,7 @@ class Easy_Facebook_Likebox {
|
|
34 |
*
|
35 |
* @var string
|
36 |
*/
|
37 |
-
const VERSION = '4.4.
|
38 |
|
39 |
/**
|
40 |
* @TODO - Rename "plugin-name" to the name your your plugin
|
34 |
*
|
35 |
* @var string
|
36 |
*/
|
37 |
+
const VERSION = '4.4.3';
|
38 |
|
39 |
/**
|
40 |
* @TODO - Rename "plugin-name" to the name your your plugin
|
public/includes/Mobile_Detect.php
CHANGED
File without changes
|
public/includes/core-functions.php
CHANGED
@@ -49,28 +49,10 @@ if(!function_exists('efbl_time_ago')){
|
|
49 |
if(!function_exists('jws_fetchUrl')){
|
50 |
//Get JSON object of feed data
|
51 |
function jws_fetchUrl($url){
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
57 |
-
curl_setopt($ch, CURLOPT_TIMEOUT, 20);
|
58 |
-
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
|
59 |
-
$feedData = curl_exec($ch);
|
60 |
-
curl_close($ch);
|
61 |
-
//If not then use file_get_contents
|
62 |
-
} elseif ( ini_get('allow_url_fopen') == 1 || ini_get('allow_url_fopen') === TRUE ) {
|
63 |
-
$feedData = @file_get_contents($url);
|
64 |
-
//Or else use the WP HTTP API
|
65 |
-
} else {
|
66 |
-
if( !class_exists( 'WP_Http' ) ) include_once( ABSPATH . WPINC. '/class-http.php' );
|
67 |
-
$request = new WP_Http;
|
68 |
-
$result = $request->request($url);
|
69 |
-
$feedData = $result['body'];
|
70 |
-
}
|
71 |
-
/* echo $feedData;
|
72 |
-
exit;*/
|
73 |
-
return $feedData;
|
74 |
|
75 |
}
|
76 |
}
|
49 |
if(!function_exists('jws_fetchUrl')){
|
50 |
//Get JSON object of feed data
|
51 |
function jws_fetchUrl($url){
|
52 |
+
|
53 |
+
$feedData = wp_remote_get($url);
|
54 |
+
|
55 |
+
return $feedData['body'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
|
57 |
}
|
58 |
}
|
public/includes/index.php
CHANGED
File without changes
|
public/views/feed.php
CHANGED
@@ -97,7 +97,9 @@ $jws_api_url = 'https://graph.facebook.com/v3.2/' .$page_id. '/?fields=id,name,p
|
|
97 |
|
98 |
|
99 |
//set json data
|
100 |
-
|
|
|
|
|
101 |
|
102 |
$json_decoded = json_decode($posts_json);
|
103 |
|
97 |
|
98 |
|
99 |
//set json data
|
100 |
+
$posts_json = jws_fetchUrl($jws_api_url);
|
101 |
+
|
102 |
+
// echo "<pre>"; print_r($posts_json);exit();
|
103 |
|
104 |
$json_decoded = json_decode($posts_json);
|
105 |
|
public/views/filters.txt
CHANGED
File without changes
|
public/views/index.php
CHANGED
File without changes
|
public/views/public.php
CHANGED
File without changes
|
uninstall.php
CHANGED
File without changes
|