Responsive Facebook Page Plugin - Version 1.2.5

Version Description

  • Fixed close icon on notice
Download this release

Release Info

Developer cameronjonesweb
Plugin Icon 128x128 Responsive Facebook Page Plugin
Version 1.2.5
Comparing to
See all releases

Code changes from version 1.2.4 to 1.2.5

css/facebook-page-plugin-admin.css CHANGED
@@ -1,4 +1,5 @@
1
  #facebook-page-plugin-shortcode-generator p:after{clear:both;display:table;content:" ";}
2
  #facebook-page-plugin-shortcode-generator input:not([type="checkbox"]),#facebook-page-plugin-shortcode-generator select{width:50%;}
3
  #facebook-page-plugin-shortcode-generator input,#facebook-page-plugin-shortcode-generator select{float:right;}
4
- #facebook-page-plugin-shortcode-generator #facebook-page-plugin-shortcode-generator-output{width:100%;float:none;}
 
1
  #facebook-page-plugin-shortcode-generator p:after{clear:both;display:table;content:" ";}
2
  #facebook-page-plugin-shortcode-generator input:not([type="checkbox"]),#facebook-page-plugin-shortcode-generator select{width:50%;}
3
  #facebook-page-plugin-shortcode-generator input,#facebook-page-plugin-shortcode-generator select{float:right;}
4
+ #facebook-page-plugin-shortcode-generator #facebook-page-plugin-shortcode-generator-output{width:100%;float:none;}
5
+ #facebook-page-plugin-review{position:relative;}
facebook-page-feed-graph-api.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Facebook Page Plugin
4
  * Plugin URI: https://cameronjones.x10.mx/projects/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 136 different languages
6
- * Version: 1.2.4
7
  * Author: Cameron Jones
8
  * Author URI: http://cameronjones.x10.mx
9
  * License: GPLv2
@@ -44,8 +44,8 @@ function facebook_page_plugin( $filter ) {
44
  ), $filter );
45
  if(isset($a['href']) && !empty($a['href'])){
46
  $a['language'] = str_replace("-", "_", $a['language']);
47
- $return .= '<div id="fb-root" data-version="1.2.3"></div><script async>(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "//connect.facebook.net/' . $a['language'] . '/sdk.js#xfbml=1&appId=191521884244670&version=v2.3";fjs.parentNode.insertBefore(js, fjs); }(document, \'script\', \'facebook-jssdk\'));</script>';
48
- $return .= '<div class="fb-page" data-version="1.2.3" data-href="https://facebook.com/' . $a["href"] . '" ';
49
  if(isset($a['width']) && !empty($a['width'])){
50
  $return .= ' data-width="' . $a['width'] . '"';
51
  }
@@ -323,7 +323,7 @@ function facebook_page_plugin_admin_notice() {
323
  global $current_user ;
324
  $user_id = $current_user->ID;
325
  if ( !get_user_meta( $user_id, 'facebook_page_plugin_admin_notice_ignore' ) || get_user_meta( $user_id, 'facebook_page_plugin_admin_notice_ignore' ) === false ) {
326
- echo '<div class="updated notice is-dismissible"><p>Thank you for using the Facebook Page Plugin. If you enjoy using it, please take the time to <a href="https://wordpress.org/support/view/plugin-reviews/facebook-page-feed-graph-api?rate=5#postform" target="_blank">leave a review</a>. Thanks. <a href="?facebook_page_plugin_admin_notice_ignore=0" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a></p></div>';
327
  }
328
  }
329
  }
3
  * Plugin Name: Facebook Page Plugin
4
  * Plugin URI: https://cameronjones.x10.mx/projects/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 136 different languages
6
+ * Version: 1.2.5
7
  * Author: Cameron Jones
8
  * Author URI: http://cameronjones.x10.mx
9
  * License: GPLv2
44
  ), $filter );
45
  if(isset($a['href']) && !empty($a['href'])){
46
  $a['language'] = str_replace("-", "_", $a['language']);
47
+ $return .= '<div id="fb-root" data-version="1.2.5"></div><script async>(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "//connect.facebook.net/' . $a['language'] . '/sdk.js#xfbml=1&appId=191521884244670&version=v2.3";fjs.parentNode.insertBefore(js, fjs); }(document, \'script\', \'facebook-jssdk\'));</script>';
48
+ $return .= '<div class="fb-page" data-version="1.2.5" data-href="https://facebook.com/' . $a["href"] . '" ';
49
  if(isset($a['width']) && !empty($a['width'])){
50
  $return .= ' data-width="' . $a['width'] . '"';
51
  }
323
  global $current_user ;
324
  $user_id = $current_user->ID;
325
  if ( !get_user_meta( $user_id, 'facebook_page_plugin_admin_notice_ignore' ) || get_user_meta( $user_id, 'facebook_page_plugin_admin_notice_ignore' ) === false ) {
326
+ echo '<div class="updated" id="facebook-page-plugin-review"><p>Thank you for using the Facebook Page Plugin. If you enjoy using it, please take the time to <a href="https://wordpress.org/support/view/plugin-reviews/facebook-page-feed-graph-api?rate=5#postform" target="_blank">leave a review</a>. Thanks. <a href="?facebook_page_plugin_admin_notice_ignore=0" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a></p></div>';
327
  }
328
  }
329
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: facebook,social,like,facepile,activity feed,recommendations,shortcode,widg
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=WLV5HPHSPM2BG&lc=AU&item_name=Cameron%20Jones%20Web%20Development�cy_code=AUD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
5
  Requires at least: 4.0
6
  Tested up to: 4.2.2
7
- Stable tag: 1.2.4
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
10
 
@@ -86,6 +86,8 @@ Shortcodes were introduced in WordPress 2.5, so theorectially it should work on
86
  3. The new shortcode generator dashboard widget
87
 
88
  == Changelog ==
 
 
89
  = 1.2.4 =
90
  * Fixed readme
91
  = 1.2.3 =
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=WLV5HPHSPM2BG&lc=AU&item_name=Cameron%20Jones%20Web%20Development�cy_code=AUD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
5
  Requires at least: 4.0
6
  Tested up to: 4.2.2
7
+ Stable tag: 1.2.5
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
10
 
86
  3. The new shortcode generator dashboard widget
87
 
88
  == Changelog ==
89
+ = 1.2.5 =
90
+ * Fixed close icon on notice
91
  = 1.2.4 =
92
  * Fixed readme
93
  = 1.2.3 =