Blog2Social: Social Media Auto Post & Scheduler - Version 6.8.7

Version Description

Additional Security Update

Download this release

Release Info

Developer PR-Gateway
Plugin Icon 128x128 Blog2Social: Social Media Auto Post & Scheduler
Version 6.8.7
Comparing to
See all releases

Code changes from version 6.8.6 to 6.8.7

blog2social.php CHANGED
@@ -6,12 +6,12 @@
6
  * Author: Blog2Social, Adenion
7
  * Text Domain: blog2social
8
  * Domain Path: /languages
9
- * Version: 6.8.6
10
  * Author URI: https://www.blog2social.com
11
  * License: GPL2+
12
  */
13
 
14
- define('B2S_PLUGIN_VERSION', '686');
15
  define('B2S_PLUGIN_LANGUAGE', serialize(array('de_DE', 'en_US')));
16
  define('B2S_PLUGIN_DIR', plugin_dir_path(__FILE__));
17
  define('B2S_PLUGIN_URL', plugin_dir_url(__FILE__));
6
  * Author: Blog2Social, Adenion
7
  * Text Domain: blog2social
8
  * Domain Path: /languages
9
+ * Version: 6.8.7
10
  * Author URI: https://www.blog2social.com
11
  * License: GPL2+
12
  */
13
 
14
+ define('B2S_PLUGIN_VERSION', '687');
15
  define('B2S_PLUGIN_LANGUAGE', serialize(array('de_DE', 'en_US')));
16
  define('B2S_PLUGIN_DIR', plugin_dir_path(__FILE__));
17
  define('B2S_PLUGIN_URL', plugin_dir_url(__FILE__));
includes/B2S/Api/Network/Pinterest.php CHANGED
@@ -111,7 +111,7 @@ class B2S_Api_Network_Pinterest {
111
  }
112
  if (empty($csrfToken)) {
113
  $error_data = trim(str_replace(array("\r\n", "\r", "\n"), " | ", strip_tags($this->cutFromTo($content, '</head>', '</body>'))));
114
- return array('error' => 1, 'error_pos' => 2, 'location' => $this->route . 'login/', 'error_data' => 'CSRF verification failed - RESPONSE: ' . serialize($error_data) . ' COOKIE: ' . serialize($cookie));
115
  }
116
  $headerData = $this->setHeader($this->route . 'login/', $this->route, 'POST', true);
117
  $headerData['X-APP-VERSION'] = $appVersion;
@@ -137,7 +137,7 @@ class B2S_Api_Network_Pinterest {
137
  $content = $result['body'];
138
  $response = json_decode($content, true);
139
  } else {
140
- return array('error' => 1, 'error_pos' => 5, 'error_data' => serialize($result));
141
  }
142
  if (is_array($response) && empty($response['resource_response']['error'])) {
143
  $this->cookie = $result['cookies'];
111
  }
112
  if (empty($csrfToken)) {
113
  $error_data = trim(str_replace(array("\r\n", "\r", "\n"), " | ", strip_tags($this->cutFromTo($content, '</head>', '</body>'))));
114
+ return array('error' => 1, 'error_pos' => 2, 'location' => $this->route . 'login/', 'error_data' => 'CSRF verification failed - RESPONSE: ' . serialize($error_data) . ' COOKIE: ' . serialize($cookie), 'error_code' => 'invalid');
115
  }
116
  $headerData = $this->setHeader($this->route . 'login/', $this->route, 'POST', true);
117
  $headerData['X-APP-VERSION'] = $appVersion;
137
  $content = $result['body'];
138
  $response = json_decode($content, true);
139
  } else {
140
+ return array('error' => 1, 'error_pos' => 5, 'error_data' => serialize($result), 'error_code' => 'invalid');
141
  }
142
  if (is_array($response) && empty($response['resource_response']['error'])) {
143
  $this->cookie = $result['cookies'];
readme.txt CHANGED
@@ -4,8 +4,8 @@ Requires PHP: 5.5.3
4
  Tags: auto post, auto publish, social media scheduling, social media calendar, social media automation, social media share, auto-publish, scheduling, social media post, social url share, social network share, share tweet, share links, share this, share text posts, share images, share video links, social tools, admin, api, auto share to, autopost, auto-Posting, auto-schedule, auto-schedule social media posts, automatic social sharing plugin, blog marketing, blog2social, blogger, buffer, crossposting, cross-promotion, cross-promoting, bloglovin, bloglovin auto post, facebook, facebook auto post, facebook pages, google auto post, instagram, instagram auto post, jetpack, jetpack sharing, linkedin, linkedin auto post, medium, medium auto post, multiposting, pinterest, re-post, scheduling plugin, social media, social media auto publish, social media button, social media manager, social media plugin, social media publishing, social media scheduling tool, social media sharing, social media tool, social network auto publish, social network icon, social network widget, socialmedia, timing, torial, torial auto post, tumblr, twitter, twitter auto post, xing, xing auto post, xing groups, xing gruppen, xing personal profiles, xing company profiles, xing business pages, xing pages, xing seiten,instagram business, auto post scheduler, repost, social media management, facebook fan page auto post, facebook profile auto post, social auto post, social autoposting, flickr, flickr auto posting, linkedin, linkedin auto posting, linkedin profile, facebook group, facebook gruppen, reddit, reddit auto posting, reddit auto post, social media calendar, editorial calendar, calendar plugin, Social Media Automatisierung, Social Media Management, Kalender, Planungs Kalender, Social Media Kalender, Content Marketing, Revive, Revive posts, Revive old posts, old posts, Reshare, Re-Share, automatically re-post, automatically reshare, auto repost, auto republish, recycle posts, bulk schedule, Google My Business, Google posts, imgur, vk, vkontakte, Vkontakte.ru, vk.com. Telegram, Telegram channels, Telegram groups, share multiple images, image gallery, blogger.com, ravelry, instapaper
5
  Donate link: https://paypal.me/adenion
6
  Requires at least: 4.7.0
7
- Tested up to: 5.8
8
- Stable tag: 6.8.6
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -224,6 +224,8 @@ To get started with the basics of Blog2Social and maybe find some useful tips an
224
  7. Keep track of your shared posts and scheduling plan with the Social Media Calendar.
225
 
226
  == Changelog ==
 
 
227
  = 6.8.6 =
228
  Bugfixing Meta Tags
229
  = 6.8.5 =
@@ -294,6 +296,8 @@ Usability Optimization, Rebrandly integration, url parameter settings
294
  New Image Posts, Imgur, Animated Gifs and Emojis
295
 
296
  == Upgrade Notice ==
 
 
297
  = 6.8.6 =
298
  Bugfixing Meta Tags
299
  = 6.8.5 =
4
  Tags: auto post, auto publish, social media scheduling, social media calendar, social media automation, social media share, auto-publish, scheduling, social media post, social url share, social network share, share tweet, share links, share this, share text posts, share images, share video links, social tools, admin, api, auto share to, autopost, auto-Posting, auto-schedule, auto-schedule social media posts, automatic social sharing plugin, blog marketing, blog2social, blogger, buffer, crossposting, cross-promotion, cross-promoting, bloglovin, bloglovin auto post, facebook, facebook auto post, facebook pages, google auto post, instagram, instagram auto post, jetpack, jetpack sharing, linkedin, linkedin auto post, medium, medium auto post, multiposting, pinterest, re-post, scheduling plugin, social media, social media auto publish, social media button, social media manager, social media plugin, social media publishing, social media scheduling tool, social media sharing, social media tool, social network auto publish, social network icon, social network widget, socialmedia, timing, torial, torial auto post, tumblr, twitter, twitter auto post, xing, xing auto post, xing groups, xing gruppen, xing personal profiles, xing company profiles, xing business pages, xing pages, xing seiten,instagram business, auto post scheduler, repost, social media management, facebook fan page auto post, facebook profile auto post, social auto post, social autoposting, flickr, flickr auto posting, linkedin, linkedin auto posting, linkedin profile, facebook group, facebook gruppen, reddit, reddit auto posting, reddit auto post, social media calendar, editorial calendar, calendar plugin, Social Media Automatisierung, Social Media Management, Kalender, Planungs Kalender, Social Media Kalender, Content Marketing, Revive, Revive posts, Revive old posts, old posts, Reshare, Re-Share, automatically re-post, automatically reshare, auto repost, auto republish, recycle posts, bulk schedule, Google My Business, Google posts, imgur, vk, vkontakte, Vkontakte.ru, vk.com. Telegram, Telegram channels, Telegram groups, share multiple images, image gallery, blogger.com, ravelry, instapaper
5
  Donate link: https://paypal.me/adenion
6
  Requires at least: 4.7.0
7
+ Tested up to: 5.9
8
+ Stable tag: 6.8.7
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
224
  7. Keep track of your shared posts and scheduling plan with the Social Media Calendar.
225
 
226
  == Changelog ==
227
+ = 6.8.7 =
228
+ Additional Security Update
229
  = 6.8.6 =
230
  Bugfixing Meta Tags
231
  = 6.8.5 =
296
  New Image Posts, Imgur, Animated Gifs and Emojis
297
 
298
  == Upgrade Notice ==
299
+ = 6.8.7 =
300
+ Additional Security Update
301
  = 6.8.6 =
302
  Bugfixing Meta Tags
303
  = 6.8.5 =
views/b2s/post.publish.php CHANGED
@@ -24,7 +24,7 @@ $b2sShowByDate = isset($_GET['b2sShowByDate']) ? (preg_match("#^[0-9\-.\]]+$#",
24
  <!-- Filter Post Start-->
25
  <form class="b2sSortForm form-inline pull-left" action="#">
26
  <input id="b2sType" type="hidden" value="publish" name="b2sType">
27
- <input id="b2sShowByDate" type="hidden" value="<?php echo $b2sShowByDate; ?>" name="b2sShowByDate">
28
  <input id="b2sPagination" type="hidden" value="1" name="b2sPagination">
29
  <?php
30
  $postFilter = new B2S_Post_Filter('publish');
24
  <!-- Filter Post Start-->
25
  <form class="b2sSortForm form-inline pull-left" action="#">
26
  <input id="b2sType" type="hidden" value="publish" name="b2sType">
27
+ <input id="b2sShowByDate" type="hidden" value="<?php echo esc_attr($b2sShowByDate); ?>" name="b2sShowByDate">
28
  <input id="b2sPagination" type="hidden" value="1" name="b2sPagination">
29
  <?php
30
  $postFilter = new B2S_Post_Filter('publish');
views/b2s/widgets/posts.php CHANGED
@@ -2,7 +2,7 @@
2
  /* Data */
3
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Post/Filter.php');
4
  require_once (B2S_PLUGIN_DIR . 'includes/Util.php');
5
- $b2sShowByDate = isset($_GET['b2sShowByDate']) ? trim($_GET['b2sShowByDate']) : "";
6
  ?>
7
 
8
  <div>
@@ -22,7 +22,7 @@ $b2sShowByDate = isset($_GET['b2sShowByDate']) ? trim($_GET['b2sShowByDate']) :
22
  <!-- Filter Post Start-->
23
  <form class="b2sSortForm form-inline pull-left" action="#">
24
  <input id="b2sType" type="hidden" value="all" name="b2sType">
25
- <input id="b2sShowByDate" type="hidden" value="<?php echo $b2sShowByDate; ?>" name="b2sShowByDate">
26
  <input id="b2sPagination" type="hidden" value="0" name="b2sPagination">
27
  <input id="b2sShowPagination" type="hidden" value="0" name="b2sShowPagination">
28
  <input id="b2sPostsPerPage" type="hidden" value="3" name="b2sPostsPerPage">
2
  /* Data */
3
  require_once (B2S_PLUGIN_DIR . 'includes/B2S/Post/Filter.php');
4
  require_once (B2S_PLUGIN_DIR . 'includes/Util.php');
5
+ $b2sShowByDate = isset($_GET['b2sShowByDate']) ? (preg_match("#^[0-9\-.\]]+$#", trim($_GET['b2sShowByDate'])) ? trim($_GET['b2sShowByDate']) : "") : ""; //YYYY-mm-dd
6
  ?>
7
 
8
  <div>
22
  <!-- Filter Post Start-->
23
  <form class="b2sSortForm form-inline pull-left" action="#">
24
  <input id="b2sType" type="hidden" value="all" name="b2sType">
25
+ <input id="b2sShowByDate" type="hidden" value="<?php echo esc_attr($b2sShowByDate); ?>" name="b2sShowByDate">
26
  <input id="b2sPagination" type="hidden" value="0" name="b2sPagination">
27
  <input id="b2sShowPagination" type="hidden" value="0" name="b2sShowPagination">
28
  <input id="b2sPostsPerPage" type="hidden" value="3" name="b2sPostsPerPage">