WD Facebook Feed – Custom Facebook Feed Plugin - Version 1.1.22

Version Description

  • Fixed: Structure of 'Privacy policy' text.
  • Fixed: Conflict with Photo gallery.
Download this release

Release Info

Developer 10web
Plugin Icon 128x128 WD Facebook Feed – Custom Facebook Feed Plugin
Version 1.1.22
Comparing to
See all releases

Code changes from version 1.1.21 to 1.1.22

Files changed (3) hide show
  1. css/ffwd_frontend.css +0 -8
  2. facebook-feed-wd.php +21 -11
  3. readme.txt +5 -1
css/ffwd_frontend.css CHANGED
@@ -21,14 +21,6 @@ div[class^="ffwd_title_spun"] a {
21
  text-decoration:none !important;
22
  }
23
 
24
- div[id^="bwg_container"] a {
25
- border: none;
26
- outline: none;
27
- font-size: 0;
28
- cursor: pointer;
29
- text-decoration: none;
30
- }
31
-
32
  .spider_popup_loading,
33
  .footer-list-block .bwp_gallery .spider_popup_loading,
34
  .footer-list-block .bwp_gallery_tags .spider_popup_loading {
21
  text-decoration:none !important;
22
  }
23
 
 
 
 
 
 
 
 
 
24
  .spider_popup_loading,
25
  .footer-list-block .bwp_gallery .spider_popup_loading,
26
  .footer-list-block .bwp_gallery_tags .spider_popup_loading {
facebook-feed-wd.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: 10Web Social Feed
5
  * Plugin URI: https://10web.io/plugins/wordpress-facebook-feed/?utm_source=facebook_feed&utm_medium=free_plugin
6
  * Description: 10Web Social Feed is a completely customizable, responsive solution to help you display your Facebook feed on your WordPress website.
7
- * Version: 1.1.21
8
  * Author: 10Web
9
  * Author URI: https://10web.io/plugins/?utm_source=facebook_feed&utm_medium=free_plugin
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -15,7 +15,12 @@ define( 'WD_FFWD_URL', plugins_url( plugin_basename( dirname( __FILE__ ) ) ) );
15
  define( 'WD_FB_PREFIX', 'ffwd' );
16
  define( 'WD_FB_IS_FREE', TRUE );
17
  if (! defined( 'FFWD_VERSION' ) ){
18
- define ('FFWD_VERSION',"1.1.21");
 
 
 
 
 
19
  }
20
 
21
  add_action('admin_notices', 'ffwd_login_notice');
@@ -121,21 +126,26 @@ add_action( 'admin_menu', 'ffwd_menu_panel', 9);
121
 
122
  add_action( 'init', 'ffwd_silently_update' );
123
 
124
- add_filter('wp_get_default_privacy_policy_content', 'ffwd_privacy_policy');
125
- function ffwd_privacy_policy($content){
126
- $title = __('Facebook Feed by 10Web', "ffwd");
 
127
 
128
- $pp_link = '<a target="_blank" href="https://www.facebook.com/policy/">' . __('Privacy Policy', "ffwd") . '</a>';
129
- $text = sprintf(__('Inform visitors that your website makes use of Facebook API to receive public data for facebook feed. Provide message that may request you to delete their Facebook data if it is accidentally cached in your website database with feed data. If you enabled “show page plugin” option for Facebook feed, Facebook will load some JS and embedded content which may track visitors. Facebook embeds are regulated under terms of Facebook %s', "ffwd"), $pp_link);
 
130
  $text .= "<br/>";
131
- $text .= __('TenWeb Disclaimer: The above text is for informational purposes only and is not a legal advice. You must not rely on it as an alternative to legal advice. You should contact your legal counsel to obtain advice with respect to your particular case.', "ffwd");
132
- $pp_text = '<h3>' . $title . '</h3>' . '<p class="wp-policy-help">' . $text . '</p>';
133
 
134
- $content .= $pp_text;
135
- return $content;
 
 
136
  }
137
 
138
  add_action("init", "ffwd_overview", 9);
 
139
  function ffwd_overview() {
140
  if ( is_admin() && !isset($_REQUEST['ajax']) ) {
141
  if ( !class_exists("TenWebLib") ) {
4
  * Plugin Name: 10Web Social Feed
5
  * Plugin URI: https://10web.io/plugins/wordpress-facebook-feed/?utm_source=facebook_feed&utm_medium=free_plugin
6
  * Description: 10Web Social Feed is a completely customizable, responsive solution to help you display your Facebook feed on your WordPress website.
7
+ * Version: 1.1.22
8
  * Author: 10Web
9
  * Author URI: https://10web.io/plugins/?utm_source=facebook_feed&utm_medium=free_plugin
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
15
  define( 'WD_FB_PREFIX', 'ffwd' );
16
  define( 'WD_FB_IS_FREE', TRUE );
17
  if (! defined( 'FFWD_VERSION' ) ){
18
+ define ('FFWD_VERSION',"1.1.22");
19
+ }
20
+ add_action( 'admin_init', 'ffwd_init' );
21
+
22
+ function ffwd_init() {
23
+ ffwd_privacy_policy();
24
  }
25
 
26
  add_action('admin_notices', 'ffwd_login_notice');
126
 
127
  add_action( 'init', 'ffwd_silently_update' );
128
 
129
+ function ffwd_privacy_policy() {
130
+ if ( ! function_exists( 'wp_add_privacy_policy_content' ) ) {
131
+ return;
132
+ }
133
 
134
+ $title = __('Facebook Feed by 10Web', "ffwd");
135
+ $link = '<a target="_blank" href="https://www.facebook.com/policy/">' . __('Privacy Policy', "ffwd") . '</a>';
136
+ $text = sprintf(__('Inform visitors that your website makes use of Facebook API to receive public data for facebook feed. Provide message that may request you to delete their Facebook data if it is accidentally cached in your website database with feed data. If you enabled “show page plugin” option for Facebook feed, Facebook will load some JS and embedded content which may track visitors. Facebook embeds are regulated under terms of Facebook %s', "ffwd"), $link);
137
  $text .= "<br/>";
138
+ $text .= __('10Web Disclaimer: The above text is for informational purposes only and is not a legal advice. You must not rely on it as an alternative to legal advice. You should contact your legal counsel to obtain advice with respect to your particular case.', "ffwd");
139
+ $text .= "<br/>&nbsp;";
140
 
141
+ wp_add_privacy_policy_content(
142
+ $title,
143
+ $text
144
+ );
145
  }
146
 
147
  add_action("init", "ffwd_overview", 9);
148
+
149
  function ffwd_overview() {
150
  if ( is_admin() && !isset($_REQUEST['ajax']) ) {
151
  if ( !class_exists("TenWebLib") ) {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: customizable facebook feed, facebook, facebook feed, facebook group, faceb
4
  Requires at least: 3.4
5
  Requires PHP: 5.2
6
  Tested up to: 5.3
7
- Stable tag: 1.1.21
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -104,6 +104,10 @@ If you think you found a bug in 10Web Facebook Feed or have any problem/question
104
  The plugin uses Facebook API to get public data from Facebook. All the received data is cached in WordPress database for some short customizable period to provide optimization. You can delete or update cached data. You can optionally enable like button for Facebook page. If you do so, Facebook will load some JS and embedded content which may track visitors. Facebook embeds are regulated under terms of Facebook privacy policy https://www.facebook.com/policy.php.
105
 
106
  == Changelog ==
 
 
 
 
107
  = 1.1.21 =
108
  * Fixed: Facebook api changes
109
 
4
  Requires at least: 3.4
5
  Requires PHP: 5.2
6
  Tested up to: 5.3
7
+ Stable tag: 1.1.22
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
104
  The plugin uses Facebook API to get public data from Facebook. All the received data is cached in WordPress database for some short customizable period to provide optimization. You can delete or update cached data. You can optionally enable like button for Facebook page. If you do so, Facebook will load some JS and embedded content which may track visitors. Facebook embeds are regulated under terms of Facebook privacy policy https://www.facebook.com/policy.php.
105
 
106
  == Changelog ==
107
+ = 1.1.22 =
108
+ * Fixed: Structure of 'Privacy policy' text.
109
+ * Fixed: Conflict with Photo gallery.
110
+
111
  = 1.1.21 =
112
  * Fixed: Facebook api changes
113