Version Description
- Fix: Warning on Dashboard
- Update: Readme.txt
Download this release
Release Info
Developer | poxtron |
Plugin | WP Embed Facebook |
Version | 1.8.1 |
Comparing to | |
See all releases |
Code changes from version 1.8 to 1.8.1
- lib/core.php +2 -1
- readme.txt +12 -13
- wp-embed-facebook.php +3 -11
lib/core.php
CHANGED
@@ -401,7 +401,8 @@ class WP_Embed_FB {
|
|
401 |
return $root.$ct;
|
402 |
}
|
403 |
static function plugins_loaded(){
|
404 |
-
|
|
|
405 |
self::$premium = true;
|
406 |
else
|
407 |
self::$premium = false;
|
401 |
return $root.$ct;
|
402 |
}
|
403 |
static function plugins_loaded(){
|
404 |
+
$lic = get_option('wpemfb_license','');
|
405 |
+
if(class_exists('WP_Embed_FB_Premium') && !empty($lic) )
|
406 |
self::$premium = true;
|
407 |
else
|
408 |
self::$premium = false;
|
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.1
|
7 |
-
Stable tag: 1.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -45,11 +45,7 @@ width and raw are optional, raw only works for videos and photos
|
|
45 |
|
46 |
**[Demo](http://www.wpembedfb.com/demo/)**
|
47 |
|
48 |
-
* The information that is shown on your post, is from facebook directly, no images or data are stored on your server.
|
49 |
-
|
50 |
-
= On the next version =
|
51 |
-
* Embed Post Raw
|
52 |
-
* Premium Version
|
53 |
|
54 |
== Installation ==
|
55 |
|
@@ -62,17 +58,17 @@ width and raw are optional, raw only works for videos and photos
|
|
62 |
|
63 |
== Frequently Asked Questions ==
|
64 |
|
65 |
-
= I can only see "Embedded post will show on publish" =
|
66 |
|
67 |
-
It is
|
68 |
|
69 |
-
=
|
70 |
|
71 |
This is a facebook limitation, will try to work around it and update this feature on the premium plugin.
|
72 |
|
73 |
= How to change embedded post background =
|
74 |
|
75 |
-
The embedded post code comes directly from facebook so there is no easy way to change it
|
76 |
|
77 |
== Screenshots ==
|
78 |
|
@@ -83,6 +79,10 @@ The embedded post code comes directly from facebook so there is no easy way to c
|
|
83 |
|
84 |
== Changelog ==
|
85 |
|
|
|
|
|
|
|
|
|
86 |
= 1.8 =
|
87 |
* Compatibility with twenty 15 theme
|
88 |
* New css for embeds
|
@@ -158,6 +158,5 @@ The embedded post code comes directly from facebook so there is no easy way to c
|
|
158 |
|
159 |
== Upgrade Notice ==
|
160 |
|
161 |
-
= 1.8 =
|
162 |
-
|
163 |
-
|
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.1
|
7 |
+
Stable tag: 1.8.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
45 |
|
46 |
**[Demo](http://www.wpembedfb.com/demo/)**
|
47 |
|
48 |
+
* The information that is shown on your post, is from facebook directly, no images or data are stored on your server.
|
|
|
|
|
|
|
|
|
49 |
|
50 |
== Installation ==
|
51 |
|
58 |
|
59 |
== Frequently Asked Questions ==
|
60 |
|
61 |
+
= Wny I can only see "Embedded post will show on publish" ? =
|
62 |
|
63 |
+
It is possible that another plugin or your theme already has the Facebook SDK for javascript. Disable the enqueue of the script on the advanced options
|
64 |
|
65 |
+
= Is there a way to embed an album with more than 100 photos ? =
|
66 |
|
67 |
This is a facebook limitation, will try to work around it and update this feature on the premium plugin.
|
68 |
|
69 |
= How to change embedded post background =
|
70 |
|
71 |
+
The embedded post code comes directly from facebook so there is no easy way to change it (maybe some esoteric javascript). For a moment there posts could be queried on the api but is not working anymore. When it does an update will follow.
|
72 |
|
73 |
== Screenshots ==
|
74 |
|
79 |
|
80 |
== Changelog ==
|
81 |
|
82 |
+
= 1.8.1 =
|
83 |
+
* Fix: Warning on Dashboard
|
84 |
+
* Update: Readme.txt
|
85 |
+
|
86 |
= 1.8 =
|
87 |
* Compatibility with twenty 15 theme
|
88 |
* New css for embeds
|
158 |
|
159 |
== Upgrade Notice ==
|
160 |
|
161 |
+
= 1.8.1 =
|
162 |
+
Fix Warning on Dashboard and Readme file update.
|
|
wp-embed-facebook.php
CHANGED
@@ -4,21 +4,12 @@ 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.8
|
8 |
Author URI: http://profiles.wordpress.org/poxtron/
|
9 |
*/
|
10 |
|
11 |
/*
|
12 |
* Constant definitions
|
13 |
-
|
14 |
-
echo "\n" . plugin_dir_path( __FILE__ );
|
15 |
-
echo "\n" . plugin_dir_url( __FILE__ );
|
16 |
-
echo "\n" . plugin_basename(__FILE__);
|
17 |
-
dirname(plugin_basename(__FILE__)
|
18 |
-
/srv/mnt/wpembedfb.com/dev/wp-content/plugins/wp-embed-facebook/
|
19 |
-
http://www.wpembedfb.com/wp-content/plugins/wp-embed-facebook/
|
20 |
-
wp-embed-facebook/wp-embed-fb.php
|
21 |
-
wp-embed-facebook
|
22 |
*/
|
23 |
define("WPEMFBDIR",plugin_dir_path( __FILE__ ));
|
24 |
define("WPEMFBURL",plugin_dir_url( __FILE__ ));
|
@@ -50,7 +41,8 @@ if(is_admin()){
|
|
50 |
add_action( 'admin_enqueue_scripts', array('EmbFbAdmin','admin_enqueue_scripts'), 10,1);
|
51 |
add_action( 'admin_init', array('EmbFbAdmin','admin_init'));
|
52 |
}
|
53 |
-
|
|
|
54 |
|
55 |
|
56 |
?>
|
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.8.1
|
8 |
Author URI: http://profiles.wordpress.org/poxtron/
|
9 |
*/
|
10 |
|
11 |
/*
|
12 |
* Constant definitions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
*/
|
14 |
define("WPEMFBDIR",plugin_dir_path( __FILE__ ));
|
15 |
define("WPEMFBURL",plugin_dir_url( __FILE__ ));
|
41 |
add_action( 'admin_enqueue_scripts', array('EmbFbAdmin','admin_enqueue_scripts'), 10,1);
|
42 |
add_action( 'admin_init', array('EmbFbAdmin','admin_init'));
|
43 |
}
|
44 |
+
//TODO: show like buttons on tiny mce
|
45 |
+
//add_action( 'after_wp_tiny_mce', 'custom_after_wp_tiny_mce' );
|
46 |
|
47 |
|
48 |
?>
|