WP Embed Facebook - Version 3.0.2

Version Description

  • Fixed: Login error for non admin users
  • Removed: Unused code
  • Updated: Framework update action
  • Fixed: Broken links
Download this release

Release Info

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

Code changes from version 3.0.1 to 3.0.2

inc/Framework.php CHANGED
@@ -150,7 +150,6 @@ abstract class Framework {
150
 
151
  static function update( $object, $options ) {
152
  if ( $options['action'] == 'update'
153
- && $options['page_type'] == 'plugin'
154
  && isset( $options['plugins'] )
155
  && in_array( plugin_basename( static::$FILE ), $options['plugins'] ) ) {
156
 
150
 
151
  static function update( $object, $options ) {
152
  if ( $options['action'] == 'update'
 
153
  && isset( $options['plugins'] )
154
  && in_array( plugin_basename( static::$FILE ), $options['plugins'] ) ) {
155
 
inc/Plugin.php CHANGED
@@ -19,7 +19,7 @@ if ( ! defined( 'WPINC' ) ) {
19
  */
20
  final class Plugin extends Framework {
21
 
22
- const VER = '3.0.1';
23
 
24
  static $option = 'wpemfb_options';
25
  static $menu_slug = 'embedfacebook';
19
  */
20
  final class Plugin extends Framework {
21
 
22
+ const VER = '3.0.2';
23
 
24
  static $option = 'wpemfb_options';
25
  static $menu_slug = 'embedfacebook';
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: Facebook, Social Plugins, embed facebook, facebook video, facebook posts,
5
  Requires at least: 4.5
6
  Tested up to: 5.0
7
  Requires PHP: 5.4
8
- Stable tag: 3.0.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
  Embed any public Facebook video, page, comment, event, album, photo, profile. Add Facebook comments to all your site or embed any Social Plugin.
@@ -32,19 +32,19 @@ Use simple shortcodes to invoke like, send, share, save buttons or any other Fac
32
 
33
  There are two types of embeds: Custom Embeds that are entirely native to this plugin and Social Plugins which are pieces of code created by Facebook developers.
34
 
35
- [All custom embeds examples](http://www.wpembedfb.com/demo-site/category/custom-embeds/)
36
 
37
- [All social plugins examples](http://www.wpembedfb.com/demo-site/category/social-plugins/)
38
 
39
- As an alternative to automatically embed your content, you can use the `[embedfb url]` shortcode instead and pass on some parameters to change each embed [examples](http://www.wpembedfb.com/demo-site/category/custom-embeds/).
40
 
41
- You can also use the built-in WordPress `[embed]` [shortcode](https://codex.wordpress.org/Embeds).
42
 
43
  = Facebook Social Plugins =
44
 
45
  **Shortcode variations**
46
 
47
- ```
48
  [fb_plugin like]
49
  [fb_plugin send]
50
  [fb_plugin share]
@@ -56,9 +56,9 @@ You can also use the built-in WordPress `[embed]` [shortcode](https://codex.word
56
  [fb_plugin video href=]
57
  [fb_plugin group href=]
58
  [fb_plugin comment href=]
59
- ```
60
 
61
- Change the default attributes for each plugin on settings or individually on using shortcode attributes, see the list of all available attributes using the "help" attribute like this: `[fb_plugin like help=1]`
62
 
63
  For example: To embed a complete Facebook fan page with the latest post, events, and chat; use the shortcode like this:
64
 
@@ -125,7 +125,7 @@ Feel like adding something? Create a pull request to the master branch on [githu
125
 
126
  1. Download wp embed facebook plugin from [WordPress](http://wordpress.org/plugins/wp-embed-facebook)
127
  1. Extract to /wp-content/plugins/ folder, and activate the plugin in /wp-admin/.
128
- 1. Create a Facebook App follow the [step by step guide](http://www.wpembedfb.com/creating-a-facebook-app-the-step-by-step-guide/).
129
  1. Copy the App Id and App Secret to the “Embed Facebook” page under the Settings section.
130
  1. Change settings to your liking.
131
  1. Enjoy and tell someone!
@@ -179,8 +179,8 @@ Buying the premium extensions helps to keep this project alive.
179
  3. Video Social Plugin
180
  4. Video Custom Embed
181
  5. Album
182
- 6. An album with more than 100 photos (Premium only)
183
- 7. Event
184
  8. Full Event Shortcode (Premium only)
185
  9. Full Page Shortcode (Premium only)
186
  10. Fan page upcoming events (Premium only)
@@ -193,12 +193,18 @@ Buying the premium extensions helps to keep this project alive.
193
 
194
  == Changelog ==
195
 
 
 
 
 
 
 
196
  = 3.0.0 =
197
  * Improved: Translated API calls
198
  * Added: Url scraper
199
  * Added: Group social plugin
200
  * Removed: Deprecated social plugins
201
- * Removed: Events custom embeds because Facebook API changes, however, some functionality is still there on the premium version
202
  * Improved: Universal options page
203
  * Fixed: Comments count and order now on
204
  * Added: Facebook SDK v3.2
@@ -544,5 +550,5 @@ Buying the premium extensions helps to keep this project alive.
544
 
545
  == Upgrade Notice ==
546
 
547
- = 2.2.2 =
548
- Added Facebook SDK v2.10
5
  Requires at least: 4.5
6
  Tested up to: 5.0
7
  Requires PHP: 5.4
8
+ Stable tag: 3.0.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
  Embed any public Facebook video, page, comment, event, album, photo, profile. Add Facebook comments to all your site or embed any Social Plugin.
32
 
33
  There are two types of embeds: Custom Embeds that are entirely native to this plugin and Social Plugins which are pieces of code created by Facebook developers.
34
 
35
+ [All custom embeds examples](https://wpembedfb.com/custom-embed/)
36
 
37
+ [All social plugins examples](https://wpembedfb.com/social-plugin/)
38
 
39
+ As an alternative to automatically embed your content, you can use the `[embedfb url]` shortcode instead and pass on some parameters to change each embed [examples](https://wpembedfb.com/documentation/wp-embed-facebook-shortcode-attributes-and-examples/).
40
 
41
+ You can also use the built-in WordPress `[embed]` [shortcode](https://codex.wordpress.org/Embeds) .
42
 
43
  = Facebook Social Plugins =
44
 
45
  **Shortcode variations**
46
 
47
+ `
48
  [fb_plugin like]
49
  [fb_plugin send]
50
  [fb_plugin share]
56
  [fb_plugin video href=]
57
  [fb_plugin group href=]
58
  [fb_plugin comment href=]
59
+ `
60
 
61
+ Change the default attributes for each plugin on settings or individually using shortcode attributes, see the list of all available attributes using the "help" attribute like this: `[fb_plugin like help=1]`
62
 
63
  For example: To embed a complete Facebook fan page with the latest post, events, and chat; use the shortcode like this:
64
 
125
 
126
  1. Download wp embed facebook plugin from [WordPress](http://wordpress.org/plugins/wp-embed-facebook)
127
  1. Extract to /wp-content/plugins/ folder, and activate the plugin in /wp-admin/.
128
+ 1. Create a Facebook App follow the [step by step guide](https://wpembedfb.com/documentation/creating-a-facebook-app-the-step-by-step-guide/).
129
  1. Copy the App Id and App Secret to the “Embed Facebook” page under the Settings section.
130
  1. Change settings to your liking.
131
  1. Enjoy and tell someone!
179
  3. Video Social Plugin
180
  4. Video Custom Embed
181
  5. Album
182
+ 6. An album with more than 100 photos now on free version :)
183
+ 7. Event (Premium only)
184
  8. Full Event Shortcode (Premium only)
185
  9. Full Page Shortcode (Premium only)
186
  10. Fan page upcoming events (Premium only)
193
 
194
  == Changelog ==
195
 
196
+ = 3.0.2 =
197
+ * Fixed: Login error for non admin users
198
+ * Removed: Unused code
199
+ * Updated: Framework update action
200
+ * Fixed: Broken links
201
+
202
  = 3.0.0 =
203
  * Improved: Translated API calls
204
  * Added: Url scraper
205
  * Added: Group social plugin
206
  * Removed: Deprecated social plugins
207
+ * Removed: Events custom embeds because Facebook API changes, however, you can embed events you have been invited to with the premium version
208
  * Improved: Universal options page
209
  * Fixed: Comments count and order now on
210
  * Added: Facebook SDK v3.2
550
 
551
  == Upgrade Notice ==
552
 
553
+ = 3.0.2 =
554
+ Completely rewritten to better keep up with FB updates really the best version yet!
wp-embed-facebook.php CHANGED
@@ -4,16 +4,12 @@
4
  @license GPL-3.0+ https://www.gnu.org/licenses/gpl-3.0.txt
5
  @link https://www.wpembedfb.com
6
  @package WP Embed FB
7
-
8
  @wordpress-plugin
9
  Plugin Name: WP Embed Facebook
10
  Plugin URI: http://www.wpembedfb.com
11
- Description: Embed any public Facebook video, photo, album, event, page,
12
- comment, profile, or post. Add Facebook comments to all your site, insert
13
- Facebook social plugins (like, save, send, share, follow, quote, comments)
14
- anywhere on your site. View the <a href="https://wpembedfb.com/features" title="plugin website" target="_blank">features</a>.
15
  Author: Miguel Sirvent
16
- Version: 3.0.1
17
  Author URI: http://www.wpembedfb.com
18
  Text Domain: wp-embed-facebook
19
  GitHub Plugin URI: sigami/wp-embed-facebook
4
  @license GPL-3.0+ https://www.gnu.org/licenses/gpl-3.0.txt
5
  @link https://www.wpembedfb.com
6
  @package WP Embed FB
 
7
  @wordpress-plugin
8
  Plugin Name: WP Embed Facebook
9
  Plugin URI: http://www.wpembedfb.com
10
+ Description: Embed any public Facebook video, photo, album, event, page, comment, profile, or post. Add Facebook comments to all your site, insert Facebook social plugins (like, save, send, share, follow, quote, comments) anywhere on your site. View the <a href="https://wpembedfb.com/features" title="plugin website" target="_blank">features</a>.
 
 
 
11
  Author: Miguel Sirvent
12
+ Version: 3.0.2
13
  Author URI: http://www.wpembedfb.com
14
  Text Domain: wp-embed-facebook
15
  GitHub Plugin URI: sigami/wp-embed-facebook
wp-embed-facebook/lib/class-wp-embed-fb-plugin.php DELETED
File without changes
wp-embed-facebook/lib/images/comments.png DELETED
Binary file
wp-embed-facebook/lib/images/like.png DELETED
Binary file
wp-embed-facebook/lib/images/share.png DELETED
Binary file