WP Embed Facebook - Version 1.9.6.7

Version Description

  • Fixed delete of options on uninstall
Download this release

Release Info

Developer poxtron
Plugin Icon 128x128 WP Embed Facebook
Version 1.9.6.7
Comparing to
See all releases

Code changes from version 1.9.6.6 to 1.9.6.7

Files changed (3) hide show
  1. lib/core.php +2 -2
  2. readme.txt +6 -3
  3. wp-embed-facebook.php +1 -3
lib/core.php CHANGED
@@ -34,13 +34,13 @@ class WP_Embed_FB {
34
  $sites = wp_get_sites();
35
  foreach ($sites as $site) {
36
  switch_to_blog($site['blog_id']);
37
- foreach ($defaults as $option ) {
38
  delete_option($option);
39
  }
40
  }
41
  restore_current_blog();
42
  } else {
43
- foreach ($defaults as $option ) {
44
  delete_option($option);
45
  }
46
  }
34
  $sites = wp_get_sites();
35
  foreach ($sites as $site) {
36
  switch_to_blog($site['blog_id']);
37
+ foreach ($defaults as $option => $value ) {
38
  delete_option($option);
39
  }
40
  }
41
  restore_current_blog();
42
  } else {
43
+ foreach ($defaults as $option => $value ) {
44
  delete_option($option);
45
  }
46
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: Facebook, facebook, Social Plugins, embed facebook, facebook video, facebook posts, facebook publication, facebook publications, facebook event, facebook events, facebook pages, facebook page, facebook profiles, facebook album, facebook albums, facebook photos, facebook photo, social,
5
  Requires at least: 3.8.1
6
  Tested up to: 4.3
7
- Stable tag: 1.9.6.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -82,6 +82,9 @@ The embedded post code comes directly from facebook so there is no easy way to c
82
 
83
  == Changelog ==
84
 
 
 
 
85
  = 1.9.6.6 =
86
  * Fixed Embed Video Error
87
  * Fixed like and follow button html
@@ -223,5 +226,5 @@ The embedded post code comes directly from facebook so there is no easy way to c
223
 
224
  == Upgrade Notice ==
225
 
226
- = 1.9.6.6 =
227
- * Fixed video embed error & like button html
4
  Tags: Facebook, facebook, Social Plugins, embed facebook, facebook video, facebook posts, facebook publication, facebook publications, facebook event, facebook events, facebook pages, facebook page, facebook profiles, facebook album, facebook albums, facebook photos, facebook photo, social,
5
  Requires at least: 3.8.1
6
  Tested up to: 4.3
7
+ Stable tag: 1.9.6.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
82
 
83
  == Changelog ==
84
 
85
+ = 1.9.6.7 =
86
+ * Fixed delete of options on uninstall
87
+
88
  = 1.9.6.6 =
89
  * Fixed Embed Video Error
90
  * Fixed like and follow button html
226
 
227
  == Upgrade Notice ==
228
 
229
+ = 1.9.6.7 =
230
+ * Fixed delete of options on uninstall
wp-embed-facebook.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Embed Facebook
4
  Plugin URI: http://www.wpembedfb.com
5
  Description: Embed a Facebook video, photo, album, event, page, profile, or post. Copy any facebook url to a single line on your post, or use shortcode [facebook='url' width='' ] more info at <a href="http://www.wpembedfb.com" title="plugin website">www.wpembedfb.com</a>
6
  Author: Miguel Sirvent
7
- Version: 1.9.6.6
8
  Author URI: http://profiles.wordpress.org/poxtron/
9
  */
10
 
@@ -31,8 +31,6 @@ add_shortcode('facebook', array('WP_Embed_FB','shortcode') );
31
  if( get_option('wpemfb_fb_root') === 'true' ){
32
  add_filter('the_content', array('WP_Embed_FB','fb_root'),10,1);
33
  }
34
-
35
-
36
 
37
  if(is_admin()){
38
  require_once WPEMFBDIR.'lib/admin.php';
4
  Plugin URI: http://www.wpembedfb.com
5
  Description: Embed a Facebook video, photo, album, event, page, profile, or post. Copy any facebook url to a single line on your post, or use shortcode [facebook='url' width='' ] more info at <a href="http://www.wpembedfb.com" title="plugin website">www.wpembedfb.com</a>
6
  Author: Miguel Sirvent
7
+ Version: 1.9.6.7
8
  Author URI: http://profiles.wordpress.org/poxtron/
9
  */
10
 
31
  if( get_option('wpemfb_fb_root') === 'true' ){
32
  add_filter('the_content', array('WP_Embed_FB','fb_root'),10,1);
33
  }
 
 
34
 
35
  if(is_admin()){
36
  require_once WPEMFBDIR.'lib/admin.php';