Skip to content

Commit ff22227

Browse files
committed
1.2.8
1 parent 8f14e1d commit ff22227

7 files changed

Lines changed: 17 additions & 12 deletions

includes/class-social-post-flow-image.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ private function get_social_media_image_sizes() {
271271
'tiktok' => array( 1080, 1920 ),
272272
'mastodon' => array( 1200, 675 ),
273273
'bluesky' => array( 1200, 675 ),
274+
'telegram' => array( 1080, 1080 ),
274275
);
275276

276277
/**

readme.txt

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
=== Social Media Auto Publisher - Schedule & Publish Posts ===
1+
=== Social Media Auto Poster - Schedule & Publish to Social Post Flow ===
22
Contributors: socialpostflow
33
Donate link: https://www.socialpostflow.com/integrations/wordpress
4-
Tags: auto post, social media, twitter, instagram, linkedin
4+
Tags: auto post, social media, telegram, instagram, linkedin
55
Requires at least: 6.0
66
Tested up to: 6.9
77
Requires PHP: 7.4
8-
Stable tag: 1.2.7
8+
Stable tag: 1.2.8
99
License: GPLv3 or later
1010
License URI: https://www.gnu.org/licenses/gpl-3.0.html
1111

12-
Auto publish WordPress posts to Facebook, X/Twitter, Threads, Instagram, LinkedIn, Pinterest, TikTok, Mastodon and Bluesky.
12+
Auto publish WordPress posts to Facebook, X/Twitter, Threads, Instagram, LinkedIn, Pinterest, TikTok, Mastodon, Bluesky and Telegram.
1313

1414
== Description ==
1515

@@ -446,6 +446,10 @@ Social Post Flow offers a 7-day free trial so you can test all features before p
446446

447447
== Changelog ==
448448

449+
= 1.2.8 (2026-04-06) =
450+
* Fix: Settings: Text to Image: PHP Warning for Telegram accounts
451+
* Fix: Settings: Display social network provider name with correct capitalization
452+
449453
= 1.2.7 (2026-04-03) =
450454
* Added: Telegram support
451455

social-post-flow.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @wordpress-plugin
99
* Plugin Name: Social Post Flow
1010
* Plugin URI: http://www.socialpostflow.com/integrations/wordpress
11-
* Version: 1.2.7
11+
* Version: 1.2.8
1212
* Author: Social Post Flow
1313
* Author URI: http://www.socialpostflow.com
1414
* Description: Send WordPress Pages, Posts or Custom Post Types to social media for scheduled publishing to social networks.
@@ -27,8 +27,8 @@
2727
}
2828

2929
// Define Plugin version and build date.
30-
define( 'SOCIAL_POST_FLOW_PLUGIN_VERSION', '1.2.7' );
31-
define( 'SOCIAL_POST_FLOW_PLUGIN_BUILD_DATE', '2026-04-03 13:00:00' );
30+
define( 'SOCIAL_POST_FLOW_PLUGIN_VERSION', '1.2.8' );
31+
define( 'SOCIAL_POST_FLOW_PLUGIN_BUILD_DATE', '2026-04-06 17:00:00' );
3232

3333
// Define Plugin paths.
3434
define( 'SOCIAL_POST_FLOW_PLUGIN_URL', plugin_dir_url( __FILE__ ) );

views/settings-auth.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@
391391
echo esc_html(
392392
sprintf(
393393
'%1$s: %2$s',
394-
$profile['provider'],
394+
$profile['provider_name'],
395395
$profile['profile_name']
396396
)
397397
);
@@ -1113,7 +1113,7 @@ class="full wpzinc-media-library-selector"
11131113
<li>
11141114
<label for="roles_<?php echo esc_attr( $role_name ); ?>_<?php echo esc_attr( $profile['id'] ); ?>" class="selectit">
11151115
<input type="checkbox" name="roles[<?php echo esc_attr( $role_name ); ?>][<?php echo esc_attr( $profile['id'] ); ?>]" id="roles_<?php echo esc_attr( $role_name ); ?>_<?php echo esc_attr( $profile['id'] ); ?>" value="1" <?php checked( $this->get_setting( 'roles', '[' . $role_name . '][' . $profile['id'] . ']' ), 1 ); ?> />
1116-
<?php echo esc_html( $profile['provider'] . ': ' . $profile['profile_name'] ); ?>
1116+
<?php echo esc_html( $profile['provider_name'] . ': ' . $profile['profile_name'] ); ?>
11171117
</label>
11181118
</li>
11191119
<?php

views/settings-post-action.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
)
2525
);
2626
} else {
27-
echo esc_html( sprintf( '%s: %s: %s', $profile['provider'], $profile['profile_name'], $action_label ) );
27+
echo esc_html( sprintf( '%s: %s: %s', $profile['provider_name'], $profile['profile_name'], $action_label ) );
2828
}
2929
?>
3030

views/settings-post-actionheader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
sprintf(
2020
/* translators: %1$s: Social Media Service (Facebook, Twitter etc.), %2$s: Social Media Profile Name */
2121
__( '%1$s: %2$s: Settings', 'social-post-flow' ),
22-
$profile['provider'],
22+
$profile['provider_name'],
2323
$profile['profile_name']
2424
)
2525
);

views/settings-post.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
$profile_enabled = $this->get_setting( $post_type, '[' . $profile['id'] . '][enabled]', 0 );
3333
?>
3434
<li class="wpzinc-nav-tab <?php echo esc_attr( $profile['provider'] ); ?>">
35-
<a href="#profile-<?php echo esc_attr( $profile['id'] ); ?>"<?php echo ( $profile_enabled ? ' class="enabled"' : '' ); ?> title="<?php echo esc_attr( $profile['provider'] . ': ' . $profile['profile_name'] ); ?>">
35+
<a href="#profile-<?php echo esc_attr( $profile['id'] ); ?>"<?php echo ( $profile_enabled ? ' class="enabled"' : '' ); ?> title="<?php echo esc_attr( $profile['provider_name'] . ': ' . $profile['profile_name'] ); ?>">
3636
<span class="formatted-username"><?php echo esc_html( $profile['profile_name'] ); ?></span>
3737
<span class="dashicons dashicons-yes"></span>
3838
</a>

0 commit comments

Comments
 (0)