Version Description
Usability Optimization
Download this release
Release Info
Developer | PR-Gateway |
Plugin | Blog2Social: Social Media Auto Post & Scheduler |
Version | 6.9.9 |
Comparing to | |
See all releases |
Code changes from version 6.9.8 to 6.9.9
- assets/css/general.css +2 -2
- blog2social.php +2 -2
- includes/Ajax/Post.php +1 -1
- includes/B2S/AutoPost.php +1 -1
- includes/B2S/Settings/Item.php +1 -1
- includes/Loader.php +2 -2
- readme.txt +6 -2
- views/b2s/settings.php +2 -1
assets/css/general.css
CHANGED
@@ -3455,7 +3455,7 @@ input[type="button"].btn-block {
|
|
3455 |
-o-transition: opacity .15s linear;
|
3456 |
transition: opacity .15s linear;
|
3457 |
}
|
3458 |
-
.fade.in {
|
3459 |
opacity: 1;
|
3460 |
}
|
3461 |
.caret {
|
@@ -5854,7 +5854,7 @@ button.close {
|
|
5854 |
-o-transform: translate(0, -25%);
|
5855 |
transform: translate(0, -25%);
|
5856 |
}
|
5857 |
-
.modal.in .modal-dialog {
|
5858 |
-webkit-transform: translate(0, 0);
|
5859 |
-ms-transform: translate(0, 0);
|
5860 |
-o-transform: translate(0, 0);
|
3455 |
-o-transition: opacity .15s linear;
|
3456 |
transition: opacity .15s linear;
|
3457 |
}
|
3458 |
+
.fade.in, .fade.show {
|
3459 |
opacity: 1;
|
3460 |
}
|
3461 |
.caret {
|
5854 |
-o-transform: translate(0, -25%);
|
5855 |
transform: translate(0, -25%);
|
5856 |
}
|
5857 |
+
.modal.in .modal-dialog, .modal.show .modal-dialog {
|
5858 |
-webkit-transform: translate(0, 0);
|
5859 |
-ms-transform: translate(0, 0);
|
5860 |
-o-transform: translate(0, 0);
|
blog2social.php
CHANGED
@@ -6,12 +6,12 @@
|
|
6 |
* Author: Blog2Social, Adenion
|
7 |
* Text Domain: blog2social
|
8 |
* Domain Path: /languages
|
9 |
-
* Version: 6.9.
|
10 |
* Author URI: https://www.blog2social.com
|
11 |
* License: GPL2+
|
12 |
*/
|
13 |
|
14 |
-
define('B2S_PLUGIN_VERSION', '
|
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.9.9
|
10 |
* Author URI: https://www.blog2social.com
|
11 |
* License: GPL2+
|
12 |
*/
|
13 |
|
14 |
+
define('B2S_PLUGIN_VERSION', '699');
|
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/Ajax/Post.php
CHANGED
@@ -627,7 +627,7 @@ class Ajax_Post {
|
|
627 |
$sendData = array("board" => isset($data['board']) ? sanitize_text_field($data['board']) : '',
|
628 |
"group" => isset($data['group']) ? sanitize_text_field($data['group']) : '',
|
629 |
"custom_title" => isset($data['custom_title']) ? sanitize_text_field($data['custom_title']) : '',
|
630 |
-
"content" => (isset($data['content']) && !empty($data['content'])) ? strip_tags(preg_replace("/(<[\/]*)em(>)/", "$1i$2", html_entity_decode(sanitize_textarea_field($data['content']))), '<p><h1><h2><br><i><b><a><img>') : '',
|
631 |
'url' => isset($data['url']) ? htmlspecialchars_decode(esc_url_raw($data['url'])) : '',
|
632 |
'image_url' => isset($data['image_url']) ? trim(esc_url_raw($data['image_url'])) : '',
|
633 |
'tags' => isset($data['tags']) ? $data['tags'] : array(),
|
627 |
$sendData = array("board" => isset($data['board']) ? sanitize_text_field($data['board']) : '',
|
628 |
"group" => isset($data['group']) ? sanitize_text_field($data['group']) : '',
|
629 |
"custom_title" => isset($data['custom_title']) ? sanitize_text_field($data['custom_title']) : '',
|
630 |
+
"content" => (isset($data['content']) && !empty($data['content'])) ? strip_tags(preg_replace("/(<[\/]*)em(>)/", "$1i$2", html_entity_decode(sanitize_textarea_field(htmlentities($data['content'])))), '<p><h1><h2><br><i><b><a><img>') : '',
|
631 |
'url' => isset($data['url']) ? htmlspecialchars_decode(esc_url_raw($data['url'])) : '',
|
632 |
'image_url' => isset($data['image_url']) ? trim(esc_url_raw($data['image_url'])) : '',
|
633 |
'tags' => isset($data['tags']) ? $data['tags'] : array(),
|
includes/B2S/AutoPost.php
CHANGED
@@ -398,7 +398,7 @@ class B2S_AutoPost {
|
|
398 |
'network_details_id' => $networkDetailsId,
|
399 |
'post_for_approve' => (int) $shareApprove,
|
400 |
'hook_action' => (((int) $shareApprove == 0) ? 1 : 0),
|
401 |
-
'post_format' => (($shareData['post_format'] !== '') ? (((int) $shareData['post_format'] > 0) ? 1 : 0) : null)
|
402 |
), array('%d', '%d', '%s', '%s', '%d', '%d', '%s', '%s', '%d', '%d', '%d'));
|
403 |
$insertId = $wpdb->insert_id;
|
404 |
B2S_Rating::trigger();
|
398 |
'network_details_id' => $networkDetailsId,
|
399 |
'post_for_approve' => (int) $shareApprove,
|
400 |
'hook_action' => (((int) $shareApprove == 0) ? 1 : 0),
|
401 |
+
'post_format' => ((isset($shareData['post_format']) && $shareData['post_format'] !== '') ? (((int) $shareData['post_format'] > 0) ? 1 : 0) : null)
|
402 |
), array('%d', '%d', '%s', '%s', '%d', '%d', '%s', '%s', '%d', '%d', '%d'));
|
403 |
$insertId = $wpdb->insert_id;
|
404 |
B2S_Rating::trigger();
|
includes/B2S/Settings/Item.php
CHANGED
@@ -40,7 +40,7 @@ class B2S_Settings_Item {
|
|
40 |
|
41 |
$optionUserTimeZone = $this->options->_getOption('user_time_zone');
|
42 |
$optionUserTimeFormat = $this->options->_getOption('user_time_format');
|
43 |
-
if($optionUserTimeFormat
|
44 |
$optionUserTimeFormat = (strtolower(substr(get_locale(), 0, 2)) == 'de') ? 0 : 1;
|
45 |
}
|
46 |
$legacyMode = $this->generalOptions->_getOption('legacy_mode');
|
40 |
|
41 |
$optionUserTimeZone = $this->options->_getOption('user_time_zone');
|
42 |
$optionUserTimeFormat = $this->options->_getOption('user_time_format');
|
43 |
+
if($optionUserTimeFormat === false) {
|
44 |
$optionUserTimeFormat = (strtolower(substr(get_locale(), 0, 2)) == 'de') ? 0 : 1;
|
45 |
}
|
46 |
$legacyMode = $this->generalOptions->_getOption('legacy_mode');
|
includes/Loader.php
CHANGED
@@ -673,8 +673,8 @@ class B2S_Loader {
|
|
673 |
$keywords = $hook_filter->get_wp_post_hashtag((int) $_POST['post_ID'], get_post_type((int) $_POST['post_ID']));
|
674 |
$url = get_permalink((int) $_POST['post_ID']);
|
675 |
$title = isset($_POST['post_title']) ? B2S_Util::getTitleByLanguage(strip_tags(sanitize_text_field(wp_unslash($_POST['post_title']))), strtolower($b2sPostLang)) : '';
|
676 |
-
$content = (isset($_POST['content']) && !empty($_POST['content'])) ? trim(
|
677 |
-
$excerpt = (isset($_POST['excerpt']) && !empty($_POST['excerpt'])) ? trim(
|
678 |
$images_urls = $hook_filter->get_wp_post_image((int) $_POST['post_ID'], true, $content);
|
679 |
$image_url = ((!empty($images_urls) && isset(array_values($images_urls)[0][0])) ? array_values($images_urls)[0][0] : false);
|
680 |
|
673 |
$keywords = $hook_filter->get_wp_post_hashtag((int) $_POST['post_ID'], get_post_type((int) $_POST['post_ID']));
|
674 |
$url = get_permalink((int) $_POST['post_ID']);
|
675 |
$title = isset($_POST['post_title']) ? B2S_Util::getTitleByLanguage(strip_tags(sanitize_text_field(wp_unslash($_POST['post_title']))), strtolower($b2sPostLang)) : '';
|
676 |
+
$content = (isset($_POST['content']) && !empty($_POST['content'])) ? trim(html_entity_decode(sanitize_textarea_field(htmlentities(wp_unslash($_POST['content']))))) : '';
|
677 |
+
$excerpt = (isset($_POST['excerpt']) && !empty($_POST['excerpt'])) ? trim(html_entity_decode(sanitize_textarea_field(htmlentities(wp_unslash($_POST['excerpt']))))) : get_the_excerpt((int) $_POST['post_ID']);
|
678 |
$images_urls = $hook_filter->get_wp_post_image((int) $_POST['post_ID'], true, $content);
|
679 |
$image_url = ((!empty($images_urls) && isset(array_values($images_urls)[0][0])) ? array_values($images_urls)[0][0] : false);
|
680 |
|
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 business, 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, Social Media Metrics, Twitter Threads
|
5 |
Donate link: https://paypal.me/adenion
|
6 |
Requires at least: 4.7.0
|
7 |
-
Tested up to:
|
8 |
-
Stable tag: 6.9.
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -234,6 +234,8 @@ To get started with the basics of Blog2Social and maybe find some useful tips an
|
|
234 |
7. Keep track of your shared posts and scheduling plan with the Social Media Calendar.
|
235 |
|
236 |
== Changelog ==
|
|
|
|
|
237 |
= 6.9.8 =
|
238 |
Additional Security Update
|
239 |
= 6.9.7 =
|
@@ -324,6 +326,8 @@ Usability Optimization, Rebrandly integration, url parameter settings
|
|
324 |
New Image Posts, Imgur, Animated Gifs and Emojis
|
325 |
|
326 |
== Upgrade Notice ==
|
|
|
|
|
327 |
= 6.9.8 =
|
328 |
Additional Security Update
|
329 |
= 6.9.7 =
|
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 business, 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, Social Media Metrics, Twitter Threads
|
5 |
Donate link: https://paypal.me/adenion
|
6 |
Requires at least: 4.7.0
|
7 |
+
Tested up to: 6.0
|
8 |
+
Stable tag: 6.9.9
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
234 |
7. Keep track of your shared posts and scheduling plan with the Social Media Calendar.
|
235 |
|
236 |
== Changelog ==
|
237 |
+
= 6.9.9 =
|
238 |
+
Usability Optimization
|
239 |
= 6.9.8 =
|
240 |
Additional Security Update
|
241 |
= 6.9.7 =
|
326 |
New Image Posts, Imgur, Animated Gifs and Emojis
|
327 |
|
328 |
== Upgrade Notice ==
|
329 |
+
= 6.9.9 =
|
330 |
+
Usability Optimization
|
331 |
= 6.9.8 =
|
332 |
Additional Security Update
|
333 |
= 6.9.7 =
|
views/b2s/settings.php
CHANGED
@@ -87,7 +87,8 @@ if($optionUserTimeFormat == false) {
|
|
87 |
'href' => array(),
|
88 |
'class' => array(),
|
89 |
'target' => array(),
|
90 |
-
'data-provider-id' => array()
|
|
|
91 |
),
|
92 |
'code' => array(
|
93 |
'id' => array()
|
87 |
'href' => array(),
|
88 |
'class' => array(),
|
89 |
'target' => array(),
|
90 |
+
'data-provider-id' => array(),
|
91 |
+
'onclick' => array()
|
92 |
),
|
93 |
'code' => array(
|
94 |
'id' => array()
|