Blog2Social: Social Media Auto Post & Scheduler - Version 6.5.4

Version Description

Usability Optimization

Download this release

Release Info

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

Code changes from version 6.5.3 to 6.5.4

blog2social.php CHANGED
@@ -6,12 +6,12 @@
6
  * Author: Blog2Social, Adenion
7
  * Text Domain: blog2social
8
  * Domain Path: /languages
9
- * Version: 6.5.3
10
  * Author URI: https://www.blog2social.com
11
  * License: GPL2+
12
  */
13
 
14
- define('B2S_PLUGIN_VERSION', '653');
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.5.4
10
  * Author URI: https://www.blog2social.com
11
  * License: GPL2+
12
  */
13
 
14
+ define('B2S_PLUGIN_VERSION', '654');
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/AutoPost.php CHANGED
@@ -40,7 +40,7 @@ class B2S_AutoPost {
40
 
41
  public function prepareShareData($networkAuthId = 0, $networkId = 0, $networkType = 0) {
42
 
43
- if (B2S_PLUGIN_USER_VERSION >= 3) {
44
  global $wpdb;
45
  $sqlGetData = $wpdb->prepare("SELECT `data` FROM `{$wpdb->prefix}b2s_posts_network_details` WHERE `network_auth_id` = %d", (int) $networkAuthId);
46
  $dataString = $wpdb->get_var($sqlGetData);
40
 
41
  public function prepareShareData($networkAuthId = 0, $networkId = 0, $networkType = 0) {
42
 
43
+ if ($this->userVersion >= 3) {
44
  global $wpdb;
45
  $sqlGetData = $wpdb->prepare("SELECT `data` FROM `{$wpdb->prefix}b2s_posts_network_details` WHERE `network_auth_id` = %d", (int) $networkAuthId);
46
  $dataString = $wpdb->get_var($sqlGetData);
includes/B2S/RePost/Save.php CHANGED
@@ -139,7 +139,7 @@ class B2S_RePost_Save {
139
 
140
  public function prepareShareData($networkAuthId = 0, $networkId = 0, $networkType = 0) {
141
 
142
- if (B2S_PLUGIN_USER_VERSION >= 3) {
143
  global $wpdb;
144
  $sqlGetData = $wpdb->prepare("SELECT `data` FROM `{$wpdb->prefix}b2s_posts_network_details` WHERE `network_auth_id` = %d", (int) $networkAuthId);
145
  $dataString = $wpdb->get_var($sqlGetData);
139
 
140
  public function prepareShareData($networkAuthId = 0, $networkId = 0, $networkType = 0) {
141
 
142
+ if ($this->userVersion >= 3) {
143
  global $wpdb;
144
  $sqlGetData = $wpdb->prepare("SELECT `data` FROM `{$wpdb->prefix}b2s_posts_network_details` WHERE `network_auth_id` = %d", (int) $networkAuthId);
145
  $dataString = $wpdb->get_var($sqlGetData);
includes/Meta.php CHANGED
@@ -217,9 +217,6 @@ class B2S_Meta {
217
  if (!empty($image)) {
218
  if ($this->print) {
219
  if ($type == 'og') {
220
- if (empty($image_size)) {
221
- $image_size = @getimagesize($image);
222
- }
223
  $size = "";
224
  if (isset($image_size[0]) && (int) $image_size[0] > 0 && isset($image_size[1]) && (int) $image_size[1] > 0) {
225
  $size = '<meta property="og:image:width" content="' . $image_size[0] . '"/>' . "\n";
217
  if (!empty($image)) {
218
  if ($this->print) {
219
  if ($type == 'og') {
 
 
 
220
  $size = "";
221
  if (isset($image_size[0]) && (int) $image_size[0] > 0 && isset($image_size[1]) && (int) $image_size[1] > 0) {
222
  $size = '<meta property="og:image:width" content="' . $image_size[0] . '"/>' . "\n";
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: auto post, auto publish, social media scheduling, social media calendar, s
5
  Donate link: https://paypal.me/adenion
6
  Requires at least: 4.7.0
7
  Tested up to: 5.5
8
- Stable tag: 6.5.3
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -218,6 +218,8 @@ To get started with the basics of Blog2Social and maybe find some useful tips an
218
  7. Keep track of your shared posts and scheduling plan with the Social Media Calendar.
219
 
220
  == Changelog ==
 
 
221
  = 6.5.3 =
222
  Optimization Twitter Image Post
223
  = 6.5.2 =
@@ -294,6 +296,8 @@ Usability Optimization
294
  Content Curation with links, WooCommerce compatibility, gutenberg editor compatibility
295
 
296
  == Upgrade Notice ==
 
 
297
  = 6.5.3 =
298
  Optimization Twitter Image Post
299
  = 6.5.2 =
5
  Donate link: https://paypal.me/adenion
6
  Requires at least: 4.7.0
7
  Tested up to: 5.5
8
+ Stable tag: 6.5.4
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
218
  7. Keep track of your shared posts and scheduling plan with the Social Media Calendar.
219
 
220
  == Changelog ==
221
+ = 6.5.4 =
222
+ Usability Optimization
223
  = 6.5.3 =
224
  Optimization Twitter Image Post
225
  = 6.5.2 =
296
  Content Curation with links, WooCommerce compatibility, gutenberg editor compatibility
297
 
298
  == Upgrade Notice ==
299
+ = 6.5.4 =
300
+ Usability Optimization
301
  = 6.5.3 =
302
  Optimization Twitter Image Post
303
  = 6.5.2 =