Responsive Facebook Page Plugin - Version 1.6.2

Version Description

  • 18/11/17 =
  • Changes minimum WordPress version to 4.6 for translations
  • Tested for WordPress 4.9 'Tipton'
  • Fixed bug with setting the language in the shortcode generator
  • Increased accuracy of URL detection in the widget form
Download this release

Release Info

Developer deployer
Plugin Icon 128x128 Responsive Facebook Page Plugin
Version 1.6.2
Comparing to
See all releases

Code changes from version 1.6.1 to 1.6.2

facebook-page-feed-graph-api.php CHANGED
@@ -3,13 +3,13 @@
3
  * Plugin Name: Facebook Page Plugin
4
  * Plugin URI: https://cameronjonesweb.com.au/wordpress-plugins/facebook-page-plugin/
5
  * Description: It's time to upgrade from your old like box! Display the Facebook Page Plugin from the Graph API using a shortcode or widget. Now available in 95 different languages
6
- * Version: 1.6.1
7
  * Author: Cameron Jones
8
  * Author URI: https://cameronjonesweb.com.au
9
  * License: GPLv2
10
  * Text Domain: facebook-page-feed-graph-api
11
 
12
- * Copyright 2015 Cameron Jones (email : plugins@cameronjonesweb.com.au)
13
 
14
  This program is free software; you can redistribute it and/or modify
15
  it under the terms of the GNU General Public License, version 2, as
@@ -32,7 +32,7 @@ class cameronjonesweb_facebook_page_plugin {
32
  define( 'CJW_FBPP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
33
  define( 'CJW_FBPP_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
34
  define( 'CJW_FBPP_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
35
- define( 'CJW_FBPP_PLUGIN_VER', '1.6.1' );
36
  define( 'CJW_FBPP_PLUGIN_DONATE_LINK', 'https://www.patreon.com/cameronjonesweb' );
37
  define( 'CJW_FBPP_PLUGIN_SURVEY_LINK', 'https://cameronjonesweb.typeform.com/to/BllbYm' );
38
 
@@ -366,7 +366,7 @@ class cameronjonesweb_facebook_page_plugin {
366
 
367
  class cameronjonesweb_facebook_page_plugin_widget extends WP_Widget {
368
 
369
- private $facebookURLs = array('https://www.facebook.com/', 'https://facebook.com/', 'www.facebook.com/', 'facebook.com/');
370
  private $settings;
371
 
372
  function __construct() {
3
  * Plugin Name: Facebook Page Plugin
4
  * Plugin URI: https://cameronjonesweb.com.au/wordpress-plugins/facebook-page-plugin/
5
  * Description: It's time to upgrade from your old like box! Display the Facebook Page Plugin from the Graph API using a shortcode or widget. Now available in 95 different languages
6
+ * Version: 1.6.2
7
  * Author: Cameron Jones
8
  * Author URI: https://cameronjonesweb.com.au
9
  * License: GPLv2
10
  * Text Domain: facebook-page-feed-graph-api
11
 
12
+ * Copyright 2015-2017 Cameron Jones (email : plugins@cameronjonesweb.com.au)
13
 
14
  This program is free software; you can redistribute it and/or modify
15
  it under the terms of the GNU General Public License, version 2, as
32
  define( 'CJW_FBPP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
33
  define( 'CJW_FBPP_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
34
  define( 'CJW_FBPP_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
35
+ define( 'CJW_FBPP_PLUGIN_VER', '1.6.2' );
36
  define( 'CJW_FBPP_PLUGIN_DONATE_LINK', 'https://www.patreon.com/cameronjonesweb' );
37
  define( 'CJW_FBPP_PLUGIN_SURVEY_LINK', 'https://cameronjonesweb.typeform.com/to/BllbYm' );
38
 
366
 
367
  class cameronjonesweb_facebook_page_plugin_widget extends WP_Widget {
368
 
369
+ private $facebookURLs = array( 'https://www.facebook.com/', 'https://facebook.com/', 'www.facebook.com/', 'facebook.com/', 'http://facebook.com/', 'http://www.facebook.com/' );
370
  private $settings;
371
 
372
  function __construct() {
faq.json CHANGED
@@ -9,8 +9,8 @@
9
  "answer": "It's highly likely that you're using an ad-blocker or similar browser extension that is being blocking it. Turn off your ad-blocker or whitelist your website."
10
  },
11
  {
12
- "question": "The plugin only shows when I'm logged in.",
13
- "answer": "This means that your Facebook page has audience restrictions of age and/or location. If you want the plugin to display for all users, disable the audience restrictions in your page settings on Facebook."
14
  },
15
  {
16
  "question": "The Facepile and/or posts aren't showing up",
@@ -35,6 +35,22 @@
35
  "Tabs are now checkboxes and the events tab is now available",
36
  "New landing page to provide help new users"
37
  ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  }
39
  ]
40
  }
9
  "answer": "It's highly likely that you're using an ad-blocker or similar browser extension that is being blocking it. Turn off your ad-blocker or whitelist your website."
10
  },
11
  {
12
+ "question": "I have audience restrictions and the plugin won't display",
13
+ "answer": "If your Facebook page has audience restrictions for age and/or location, the plugin will not display. If you want the plugin to display, disable the audience restrictions in your page settings on Facebook. <a href='https://developers.facebook.com/docs/plugins/page-plugin/#privacy' target='_blank'>See Facebook documentation</a>."
14
  },
15
  {
16
  "question": "The Facepile and/or posts aren't showing up",
35
  "Tabs are now checkboxes and the events tab is now available",
36
  "New landing page to provide help new users"
37
  ]
38
+ },
39
+ {
40
+ "version": "1.6.1",
41
+ "changes": [
42
+ "Adding text domain header",
43
+ "Adding implementation indicator for debugging"
44
+ ]
45
+ },
46
+ {
47
+ "version": "1.6.2",
48
+ "changes": [
49
+ "Changes minimum WordPress version to 4.6 for translations",
50
+ "Tested for WordPress 4.9 'Tipton'",
51
+ "Fixed bug with setting the language in the shortcode generator",
52
+ "Increased accuracy of URL detection in the widget form"
53
+ ]
54
  }
55
  ]
56
  }
js/facebook-page-plugin-admin.js CHANGED
@@ -65,7 +65,7 @@
65
  }
66
  var $lang = $('#fbpp-lang').val();
67
  if($lang.length > 0){
68
- $shortcode += 'lang="' + $lang + '" ';
69
  }
70
  $shortcode += ']';
71
  $('#facebook-page-plugin-shortcode-generator-output').val($shortcode);
65
  }
66
  var $lang = $('#fbpp-lang').val();
67
  if($lang.length > 0){
68
+ $shortcode += 'language="' + $lang + '" ';
69
  }
70
  $shortcode += ']';
71
  $('#facebook-page-plugin-shortcode-generator-output').val($shortcode);
readme.md CHANGED
@@ -36,7 +36,8 @@ Also, if your page has only just been created it may take some time for the API
36
  Shortcodes were introduced in WordPress 2.5, so theorectially it should work on all sites that are at least 2.5, however it has only been tested on versions 4.0 and up, and no guarantee will be made concerning earlier versions
37
 
38
  ### I can only see a link, the plugin won't load
39
- By default the plugin will display a link to your page while the page plugin loads. If the page plugin doesn't load, this could happen for a number of reasons. Your connection could be very slow, you could have JavaScript disabled, you could have an ad blocker or similar browser extension blocking the plugin or there could be an error in the information you have provided in the widget or shortcode.
 
40
 
41
  ### I can't get the Facepile to work!
42
  Chances are your plugin isn't tall enough to display the facepile properly. The facepile requires the plugin to have a minimum height of 214 pixels, or 154 pixel if using the small header.
@@ -50,6 +51,16 @@ Chances are your plugin isn't tall enough to display the facepile properly. The
50
 
51
  ## Changelog
52
 
 
 
 
 
 
 
 
 
 
 
53
  ### 1.6.0 - 02/04/17
54
  * New landing page with FAQs to help with onboarding of new users
55
  * Removal of the admin notice review nag
36
  Shortcodes were introduced in WordPress 2.5, so theorectially it should work on all sites that are at least 2.5, however it has only been tested on versions 4.0 and up, and no guarantee will be made concerning earlier versions
37
 
38
  ### I can only see a link, the plugin won't load
39
+ By default the plugin will display a link to your page while the page plugin loads. If the page plugin doesn't load, this could happen for a number of reasons. Your connection could be very slow, you could have JavaScript disabled, you could have an ad blocker or similar browser extension blocking the plugin or there could be an error in the information you have provided in the widget or shortcode.
40
+ Additionally, if your Facebook page has audience restrictions for age and/or location, the plugin will not display. If you want the plugin to display, disable the audience restrictions in your page settings on Facebook.
41
 
42
  ### I can't get the Facepile to work!
43
  Chances are your plugin isn't tall enough to display the facepile properly. The facepile requires the plugin to have a minimum height of 214 pixels, or 154 pixel if using the small header.
51
 
52
  ## Changelog
53
 
54
+ ### 1.6.2 - 18/11/17
55
+ * Changes minimum WordPress version to 4.6 for translations
56
+ * Tested for WordPress 4.9 'Tipton'
57
+ * Fixed bug with setting the language in the shortcode generator
58
+ * Increased accuracy of URL detection in the widget form
59
+
60
+ ### 1.6.1 - 11/04/17
61
+ * Adding text domain header
62
+ * Adding implementation indicator for debugging
63
+
64
  ### 1.6.0 - 02/04/17
65
  * New landing page with FAQs to help with onboarding of new users
66
  * Removal of the admin notice review nag
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
- === Facebook Page Plugin ===
2
  Contributors: cameronjonesweb
3
  Tags: like box,facebook like box,facebook page plugin, facebook feed, facebook page
4
  Donate link: https://www.patreon.com/cameronjonesweb
5
  Requires at least: 4.6
6
  Tested up to: 4.9
7
- Stable tag: 1.6.1
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
10
 
@@ -12,7 +12,7 @@ It's time to upgrade from your old like box! Display the Facebook Page Plugin fr
12
 
13
 
14
  == Description ==
15
- Seamlessly add a Facebook Page to your WordPress website with the Facebook Page Plugin! Trusted by more than 20,000 WordPress websites worldwide, the Facebook Page Plugin is the simplest way to add a Facebook page to your website.
16
 
17
  You can add your Facebook page to any widget area with the custom Facebook Page Plugin widget, with live preview available in the Customizer.
18
 
@@ -24,7 +24,7 @@ Other features include:
24
 
25
  * Uses your site language by default, but you can display your Facebook page in all 95 languages that Facebook supports, including English, Spanish, Arabic, German, French, Russian and many more
26
 
27
- With more than 20,000 installs and nearly 50 5-star rating, the Facebook Page Plugin is one of the most popular social media plugins for WordPress.
28
 
29
 
30
  == Frequently Asked Questions ==
@@ -58,6 +58,13 @@ Chances are your plugin isn't tall enough to display the facepile properly. The
58
 
59
  == Changelog ==
60
 
 
 
 
 
 
 
 
61
  = 1.6.2 - 18/11/17 =
62
  * Changes minimum WordPress version to 4.6 for translations
63
  * Tested for WordPress 4.9 'Tipton'
1
+ === Responsive Facebook Page Plugin ===
2
  Contributors: cameronjonesweb
3
  Tags: like box,facebook like box,facebook page plugin, facebook feed, facebook page
4
  Donate link: https://www.patreon.com/cameronjonesweb
5
  Requires at least: 4.6
6
  Tested up to: 4.9
7
+ Stable tag: 1.6.3
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
10
 
12
 
13
 
14
  == Description ==
15
+ Seamlessly add a Facebook Page to your WordPress website with the Facebook Page Plugin! Trusted by more than 30,000 WordPress websites worldwide, the Facebook Page Plugin is the simplest way to add a Facebook page to your website.
16
 
17
  You can add your Facebook page to any widget area with the custom Facebook Page Plugin widget, with live preview available in the Customizer.
18
 
24
 
25
  * Uses your site language by default, but you can display your Facebook page in all 95 languages that Facebook supports, including English, Spanish, Arabic, German, French, Russian and many more
26
 
27
+ With more than 30,000 installs and nearly 50 5-star rating, the Facebook Page Plugin is one of the most popular social media plugins for WordPress.
28
 
29
 
30
  == Frequently Asked Questions ==
58
 
59
  == Changelog ==
60
 
61
+ = 1.6.3 - 01/04/18 =
62
+ * Improved string translations
63
+ * Updated Graph API from v2.5 to v2.12
64
+ * Fail gracefully when SimpleXML isn't installed
65
+ * Fixed changelog link
66
+ * Updated the plugin display name to avoid potential trademark issues
67
+
68
  = 1.6.2 - 18/11/17 =
69
  * Changes minimum WordPress version to 4.6 for translations
70
  * Tested for WordPress 4.9 'Tipton'