Blog2Social: Social Media Auto Post & Scheduler - Version 4.8.3

Version Description

Bugfix: compatible with custom backend templates and modal scripts

Download this release

Release Info

Developer Blog2Social
Plugin Icon 128x128 Blog2Social: Social Media Auto Post & Scheduler
Version 4.8.3
Comparing to
See all releases

Code changes from version 4.8.2 to 4.8.3

assets/js/general.js CHANGED
@@ -412,7 +412,7 @@ if ("undefined" == typeof jQuery)
412
  };
413
  c.VERSION = "3.3.6", c.TRANSITION_DURATION = 150, c.DEFAULTS = {animation: !0, placement: "top", selector: !1, template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>', trigger: "hover focus", title: "", delay: 0, html: !1, container: !1, viewport: {selector: "body", padding: 0}}, c.prototype.init = function (b, c, d) {
414
  if (this.enabled = !0, this.type = b, this.$element = a(c), this.options = this.getOptions(d), this.$viewport = this.options.viewport && a(a.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : this.options.viewport.selector || this.options.viewport), this.inState = {click: !1, hover: !1, focus: !1}, this.$element[0]instanceof document.constructor && !this.options.selector)
415
- throw new Error("`selector` option must be specified when initializing " + this.type + " on the window.document object!");
416
  for (var e = this.options.trigger.split(" "), f = e.length; f--; ) {
417
  var g = e[f];
418
  if ("click" == g)
412
  };
413
  c.VERSION = "3.3.6", c.TRANSITION_DURATION = 150, c.DEFAULTS = {animation: !0, placement: "top", selector: !1, template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>', trigger: "hover focus", title: "", delay: 0, html: !1, container: !1, viewport: {selector: "body", padding: 0}}, c.prototype.init = function (b, c, d) {
414
  if (this.enabled = !0, this.type = b, this.$element = a(c), this.options = this.getOptions(d), this.$viewport = this.options.viewport && a(a.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : this.options.viewport.selector || this.options.viewport), this.inState = {click: !1, hover: !1, focus: !1}, this.$element[0]instanceof document.constructor && !this.options.selector)
415
+ throw new Error("Wordpress Bug: `selector` option must be specified when initializing " + this.type + " on the window.document object!");
416
  for (var e = this.options.trigger.split(" "), f = e.length; f--; ) {
417
  var g = e[f];
418
  if ("click" == g)
blog2social.php CHANGED
@@ -6,12 +6,12 @@
6
  * Author: Blog2Social, Adenion
7
  * Text Domain: blog2social
8
  * Domain Path: /languages
9
- * Version: 4.8.2
10
  * Author URI: https://www.blog2social.com
11
  * License: GPL2+
12
  */
13
  //B2SDefine
14
- define('B2S_PLUGIN_VERSION', '482');
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: 4.8.3
10
  * Author URI: https://www.blog2social.com
11
  * License: GPL2+
12
  */
13
  //B2SDefine
14
+ define('B2S_PLUGIN_VERSION', '483');
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__));
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: auto post, auto publish, social media scheduling, social media calendar, s
4
  Donate link: http://www.blog2social.com
5
  Requires at least: 4.2.2
6
  Tested up to: 4.9.5
7
- Stable tag: 4.8.2
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -299,6 +299,8 @@ We use the official authentification oAUTH methods to third-party applications p
299
  9. Adjust the best times to schedule in the best time scheduler.
300
 
301
  == Changelog ==
 
 
302
  = 4.8.2 =
303
  Bugfix: twitter scheduling prozess
304
  = 4.8.1 =
@@ -365,6 +367,8 @@ Bug Fix: update method
365
  Re-engineered Post dashboard, new one-page preview features: WYSIWYG editors, simplified network selection, new scheduler features: best-times-scheduler, my-times-scheduler, recurring scheduling, multiple accounts per profile (applies to FREE and PREMIUM)
366
 
367
  == Upgrade Notice ==
 
 
368
  = 4.8.2 =
369
  Bugfix: twitter scheduling prozess
370
  = 4.8.1 =
4
  Donate link: http://www.blog2social.com
5
  Requires at least: 4.2.2
6
  Tested up to: 4.9.5
7
+ Stable tag: 4.8.3
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
299
  9. Adjust the best times to schedule in the best time scheduler.
300
 
301
  == Changelog ==
302
+ = 4.8.3 =
303
+ Bugfix: compatible with custom backend templates and modal scripts
304
  = 4.8.2 =
305
  Bugfix: twitter scheduling prozess
306
  = 4.8.1 =
367
  Re-engineered Post dashboard, new one-page preview features: WYSIWYG editors, simplified network selection, new scheduler features: best-times-scheduler, my-times-scheduler, recurring scheduling, multiple accounts per profile (applies to FREE and PREMIUM)
368
 
369
  == Upgrade Notice ==
370
+ = 4.8.3 =
371
+ Bugfix: compatible with custom backend templates and modal scripts
372
  = 4.8.2 =
373
  Bugfix: twitter scheduling prozess
374
  = 4.8.1 =
views/b2s/html/header.phtml CHANGED
@@ -399,7 +399,7 @@ if ($b2sPrivacyPolicy !== false) {
399
 
400
  <input id="b2sUserAcceptPrivacyPolicy" type="hidden" value="<?php echo (($showPrivacyPolicy) ? 'true' : 'false'); ?>">
401
  <!-- B2S-Privacy-Policy-Info-->
402
- <div class="modal fade" id="b2sModalPrivacyPolicy" tabindex="-1" role="dialog" aria-labelledby="b2sModalPrivacyPolicy" aria-hidden="true" data-backdrop="true">
403
  <div class="modal-dialog b2s-scroll-modal-dialog">
404
  <!-- Modal content-->
405
  <div class="modal-content">
399
 
400
  <input id="b2sUserAcceptPrivacyPolicy" type="hidden" value="<?php echo (($showPrivacyPolicy) ? 'true' : 'false'); ?>">
401
  <!-- B2S-Privacy-Policy-Info-->
402
+ <div class="modal fade" id="b2sModalPrivacyPolicy" tabindex="-1" role="dialog" aria-labelledby="b2sModalPrivacyPolicy" aria-hidden="true" data-backdrop="false">
403
  <div class="modal-dialog b2s-scroll-modal-dialog">
404
  <!-- Modal content-->
405
  <div class="modal-content">
views/b2s/partials/network-tos-modal.php CHANGED
@@ -1,6 +1,6 @@
1
  <!--Info TOS Twitter 032018 - none multiple Accounts same content-->
2
  <?php $b2sNetworkTosAccept = get_option('B2S_PLUGIN_NETWORK_TOS_ACCEPT_032018_USER_' . B2S_PLUGIN_BLOG_USER_ID); ?>
3
- <input type="hidden" id="b2sNetworkTosAccept" value="<?php echo (($b2sNetworkTosAccept !== false) ? (int) $b2sNetworkTosAccept : 0); ?>">
4
  <div class="modal fade" id="b2sNetworkTosAcceptModal" tabindex="-1" role="dialog" aria-labelledby="b2sNetworkTosAcceptModal" aria-hidden="true" data-backdrop="false">
5
  <div class="modal-dialog">
6
  <div class="modal-content">
1
  <!--Info TOS Twitter 032018 - none multiple Accounts same content-->
2
  <?php $b2sNetworkTosAccept = get_option('B2S_PLUGIN_NETWORK_TOS_ACCEPT_032018_USER_' . B2S_PLUGIN_BLOG_USER_ID); ?>
3
+ <input type="hidden" id="b2sNetworkTosAccept" value="<?php echo (($b2sNetworkTosAccept !== false || $showPrivacyPolicy !== false) ? 1 : 0); ?>">
4
  <div class="modal fade" id="b2sNetworkTosAcceptModal" tabindex="-1" role="dialog" aria-labelledby="b2sNetworkTosAcceptModal" aria-hidden="true" data-backdrop="false">
5
  <div class="modal-dialog">
6
  <div class="modal-content">