WP Facebook Auto Publish - Version 1.2.2

Version Description

= Facebook Auto Publish 1.0.1 = If you had issues with default image used for auto publishing, you may apply this upgrade.

= Facebook Auto Publish 1.0 = First official launch.

Download this release

Release Info

Developer f1logic
Plugin Icon 128x128 WP Facebook Auto Publish
Version 1.2.2
Comparing to
See all releases

Code changes from version 1.2.1 to 1.2.2

Files changed (3) hide show
  1. admin/publish.php +3 -4
  2. facebook-auto-publish.php +1 -1
  3. readme.txt +5 -2
admin/publish.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  add_action('publish_post', 'xyz_fbap_link_publish');
4
  add_action('publish_page', 'xyz_fbap_link_publish');
5
- add_action('future_to_publish', 'xyz_link_fbap_future_to_publish');
6
 
7
  function xyz_link_fbap_future_to_publish($post){
8
  $postid =$post->ID;
@@ -19,7 +19,6 @@ foreach ($carr as $cstyps ) {
19
  }
20
 
21
  function xyz_fbap_link_publish($post_ID) {
22
-
23
  $_POST_CPY=$_POST;
24
  $_POST=stripslashes_deep($_POST);
25
  // if(isset($_POST['xyz_fbap_hidden_meta']) && $_POST['xyz_fbap_hidden_meta']==1)
@@ -125,7 +124,7 @@ function xyz_fbap_link_publish($post_ID) {
125
 
126
 
127
  $content = $postpp->post_content;$content = apply_filters('the_content', $content);
128
- $excerpt = $postpp->post_excerpt;apply_filters('the_excerpt', $excerpt);
129
  if($excerpt=="")
130
  {
131
  if($content!="")
@@ -155,7 +154,7 @@ function xyz_fbap_link_publish($post_ID) {
155
 
156
  $name = html_entity_decode(get_the_title($postpp->ID), ENT_QUOTES, get_bloginfo('charset'));
157
  $caption = html_entity_decode(get_bloginfo('title'), ENT_QUOTES, get_bloginfo('charset'));
158
- apply_filters('the_title', $name);
159
 
160
  $name=strip_tags($name);
161
  $name=strip_shortcodes($name);
2
 
3
  add_action('publish_post', 'xyz_fbap_link_publish');
4
  add_action('publish_page', 'xyz_fbap_link_publish');
5
+ //add_action('future_to_publish', 'xyz_link_fbap_future_to_publish');
6
 
7
  function xyz_link_fbap_future_to_publish($post){
8
  $postid =$post->ID;
19
  }
20
 
21
  function xyz_fbap_link_publish($post_ID) {
 
22
  $_POST_CPY=$_POST;
23
  $_POST=stripslashes_deep($_POST);
24
  // if(isset($_POST['xyz_fbap_hidden_meta']) && $_POST['xyz_fbap_hidden_meta']==1)
124
 
125
 
126
  $content = $postpp->post_content;$content = apply_filters('the_content', $content);
127
+ $excerpt = $postpp->post_excerpt;$excerpt = apply_filters('the_excerpt', $excerpt);
128
  if($excerpt=="")
129
  {
130
  if($content!="")
154
 
155
  $name = html_entity_decode(get_the_title($postpp->ID), ENT_QUOTES, get_bloginfo('charset'));
156
  $caption = html_entity_decode(get_bloginfo('title'), ENT_QUOTES, get_bloginfo('charset'));
157
+ $name = apply_filters('the_title', $name);
158
 
159
  $name=strip_tags($name);
160
  $name=strip_shortcodes($name);
facebook-auto-publish.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Facebook Auto Publish
4
  Plugin URI: http://xyzscripts.com/wordpress-plugins/facebook-auto-publish/
5
  Description: Publish posts automatically from your blog to Facebook social media. You can publish your posts to Facebook as simple text message, text message with image or as attached link to your blog. The plugin supports filtering posts by custom post-types and categories.
6
- Version: 1.2.1
7
  Author: xyzscripts.com
8
  Author URI: http://xyzscripts.com/
9
  License: GPLv2 or later
3
  Plugin Name: Facebook Auto Publish
4
  Plugin URI: http://xyzscripts.com/wordpress-plugins/facebook-auto-publish/
5
  Description: Publish posts automatically from your blog to Facebook social media. You can publish your posts to Facebook as simple text message, text message with image or as attached link to your blog. The plugin supports filtering posts by custom post-types and categories.
6
+ Version: 1.2.2
7
  Author: xyzscripts.com
8
  Author URI: http://xyzscripts.com/
9
  License: GPLv2 or later
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: f1logic
3
  Donate link: http://xyzscripts.com/donate/
4
  Tags: facebook, facebook auto publish, publish post to facebook, add link to facebook, facebook publishing, post to facebook, post to fb, social media auto publish, social media publishing, social network auto publish, social media, social network
5
  Requires at least: 2.8
6
- Tested up to: 4.1
7
- Stable tag: 1.2.1
8
  License: GPLv2 or later
9
 
10
  Publish posts automatically to Facebook page or profile.
@@ -122,6 +122,9 @@ More questions ? [Drop a mail](http://xyzscripts.com/members/support/ "XYZScript
122
 
123
  == Changelog ==
124
 
 
 
 
125
  = Facebook Auto Publish 1.2.1 =
126
  * Fixed auto publish related bug in post edit
127
  * Fixed message format bug in auto publish
3
  Donate link: http://xyzscripts.com/donate/
4
  Tags: facebook, facebook auto publish, publish post to facebook, add link to facebook, facebook publishing, post to facebook, post to fb, social media auto publish, social media publishing, social network auto publish, social media, social network
5
  Requires at least: 2.8
6
+ Tested up to: 4.1.2
7
+ Stable tag: 1.2.2
8
  License: GPLv2 or later
9
 
10
  Publish posts automatically to Facebook page or profile.
122
 
123
  == Changelog ==
124
 
125
+ = Facebook Auto Publish 1.2.2 =
126
+ * Bug fix for duplicate publishing of scheduled posts
127
+
128
  = Facebook Auto Publish 1.2.1 =
129
  * Fixed auto publish related bug in post edit
130
  * Fixed message format bug in auto publish