WP Embed Facebook - Version 2.1.2

Version Description

  • Added: [fb_plugin] shortcode to embed any type of social plugin
  • Added: Auto embed comments plugin to certain post types
  • Added: Auto embed quote plugin to certain post types
  • Added: Default options for all social plugins
  • Added: Advanced option to integrate other lightbox scripts to the album embeds
  • Improved: Admin area is more comprehensive with tons of examples
  • Improved: url recognition
  • Deprecated: Old functions on Wef_Social_Plugins class
Download this release

Release Info

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

Code changes from version 2.1.1 to 2.1.2

lang/wp-embed-facebook.pot CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the WP Embed Facebook package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WP Embed Facebook 2.1.0\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/wp-embed-facebook\n"
8
  "POT-Creation-Date: 2016-06-22 18:07:38+00:00\n"
@@ -512,24 +512,24 @@ msgstr ""
512
  msgid "More information"
513
  msgstr ""
514
 
515
- #: lib/class-wp-embed-fb.php:47
516
  msgid "This is not a valid facebook url"
517
  msgstr ""
518
 
519
- #: lib/class-wp-embed-fb.php:173
520
  msgid "Error: Try embedding this post as a social plugin (only visible to admins)"
521
  msgstr ""
522
 
523
- #: lib/class-wp-embed-fb.php:176 lib/class-wp-embed-fb.php:215
524
  msgid "Code"
525
  msgstr ""
526
 
527
- #: lib/class-wp-embed-fb.php:178 lib/class-wp-embed-fb.php:217
528
- #: lib/class-wp-embed-fb.php:418
529
  msgid "Error"
530
  msgstr ""
531
 
532
- #: lib/class-wp-embed-fb.php:425
533
  msgid ""
534
  "<small>To embed this type of content you need to setup a facebook app on <a "
535
  "href=\"%s\" title=\"WP Embed Facebook Settings\">settings</a></small>"
2
  # This file is distributed under the same license as the WP Embed Facebook package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WP Embed Facebook 2.1.1\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/wp-embed-facebook\n"
8
  "POT-Creation-Date: 2016-06-22 18:07:38+00:00\n"
512
  msgid "More information"
513
  msgstr ""
514
 
515
+ #: lib/class-wp-embed-fb.php:48
516
  msgid "This is not a valid facebook url"
517
  msgstr ""
518
 
519
+ #: lib/class-wp-embed-fb.php:174
520
  msgid "Error: Try embedding this post as a social plugin (only visible to admins)"
521
  msgstr ""
522
 
523
+ #: lib/class-wp-embed-fb.php:177 lib/class-wp-embed-fb.php:216
524
  msgid "Code"
525
  msgstr ""
526
 
527
+ #: lib/class-wp-embed-fb.php:179 lib/class-wp-embed-fb.php:218
528
+ #: lib/class-wp-embed-fb.php:419
529
  msgid "Error"
530
  msgstr ""
531
 
532
+ #: lib/class-wp-embed-fb.php:426
533
  msgid ""
534
  "<small>To embed this type of content you need to setup a facebook app on <a "
535
  "href=\"%s\" title=\"WP Embed Facebook Settings\">settings</a></small>"
lib/class-wp-embed-fb.php CHANGED
@@ -38,7 +38,8 @@ class WP_Embed_FB {
38
  */
39
  static function shortcode( $atts ) {
40
  if ( ! empty( $atts ) && isset( $atts[0] ) ) {
41
- $clean = trim( $atts[0], array( '=', 'href=', 'uri=', 'url=', 'src=', 'link=' ) );
 
42
  if ( is_numeric( $clean ) ) {
43
  $juice = $clean;
44
  $clean = "https://www.facebook.com/$juice";
38
  */
39
  static function shortcode( $atts ) {
40
  if ( ! empty( $atts ) && isset( $atts[0] ) ) {
41
+ $clean = trim( $atts[0], '=' );
42
+ //, 'href=', 'uri=', 'url=', 'src=', 'link=' )
43
  if ( is_numeric( $clean ) ) {
44
  $juice = $clean;
45
  $clean = "https://www.facebook.com/$juice";
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.5.3
7
- Stable tag: 2.1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -102,6 +102,16 @@ This can only be achieved using the premium version
102
 
103
  == Changelog ==
104
 
 
 
 
 
 
 
 
 
 
 
105
  = 2.1.1 =
106
  * Updated: social plugins embed
107
 
@@ -350,4 +360,4 @@ This can only be achieved using the premium version
350
  == Upgrade Notice ==
351
 
352
  = 2.1.1 =
353
- Fixes: error for uls something-3423223, [facebook object_id] shortcode
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.5.3
7
+ Stable tag: 2.1.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
102
 
103
  == Changelog ==
104
 
105
+ = 2.1.2 =
106
+ * Added: [fb_plugin] shortcode to embed any type of social plugin
107
+ * Added: Auto embed comments plugin to certain post types
108
+ * Added: Auto embed quote plugin to certain post types
109
+ * Added: Default options for all social plugins
110
+ * Added: Advanced option to integrate other lightbox scripts to the album embeds
111
+ * Improved: Admin area is more comprehensive with tons of examples
112
+ * Improved: url recognition
113
+ * Deprecated: Old functions on Wef_Social_Plugins class
114
+
115
  = 2.1.1 =
116
  * Updated: social plugins embed
117
 
360
  == Upgrade Notice ==
361
 
362
  = 2.1.1 =
363
+ Auto comments, added all facebook plugins better url recognition, tons of new features. It is just the best yet! After update go to setting and see for yourself.
wp-embed-facebook.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Embed Facebook
4
  Plugin URI: http://www.wpembedfb.com
5
  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="http://www.wpembedfb.com/demo-site/" title="plugin website" target="_blank">demo site</a>.
6
  Author: Miguel Sirvent
7
- Version: 2.1.1
8
  Author URI: http://www.wpembedfb.com
9
  Text Domain: wp-embed-facebook
10
  Domain Path: /lang
4
  Plugin URI: http://www.wpembedfb.com
5
  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="http://www.wpembedfb.com/demo-site/" title="plugin website" target="_blank">demo site</a>.
6
  Author: Miguel Sirvent
7
+ Version: 2.1.2
8
  Author URI: http://www.wpembedfb.com
9
  Text Domain: wp-embed-facebook
10
  Domain Path: /lang