Skip to content

Commit 0378192

Browse files
committed
6.1.0: Fix: Status: Link: Fallback to Post URL if no URL is specified
1 parent 070bc04 commit 0378192

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

lib/includes/class-wp-to-social-pro-publish.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -816,6 +816,9 @@ private function build_args( $post, $profile_id, $service, $status, $action, $ac
816816
case 'link':
817817
case 'pin':
818818
case 'googlebusiness':
819+
// If no URL is specified in the status, use the Post's URL.
820+
$status['url'] = empty( $status['url'] ) ? '{url}' : $status['url'];
821+
819822
// Get URL.
820823
$url = $this->parse_text( $post, $status['url'] );
821824

readme.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Tags: social media automation, auto post, buffer, social media scheduler, auto p
55
Requires at least: 5.0
66
Tested up to: 7.0
77
Requires PHP: 7.4
8-
Stable tag: 6.0.9
8+
Stable tag: 6.1.0
99
License: GPLv3 or later
1010
License URI: http://www.gnu.org/licenses/gpl-3.0.html
1111

@@ -309,6 +309,9 @@ Visit [our website](https://www.wpzinc.com/plugins/wordpress-to-buffer-pro/) to
309309

310310
== Changelog ==
311311

312+
= 6.1.0 (2026-07-08) =
313+
* Fix: Status: Link: Fallback to Post URL if no URL is specified
314+
312315
= 6.0.9 (2026-06-29) =
313316
* Fix: Status: Link: Revert reading Meta Title and Description from AIOSEO, Rank Math, SEOPress and Yoast SEO, using Buffer's assets[].link.url instead. See Docs: https://www.wpzinc.com/documentation/wordpress-buffer-pro/debugging-issues/#link-posts
314317

wp-to-buffer.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: WP to Buffer
1010
* Plugin URI: http://www.wpzinc.com/plugins/wp-to-buffer-pro
11-
* Version: 6.0.9
11+
* Version: 6.1.0
1212
* Author: WP Zinc
1313
* Author URI: http://www.wpzinc.com
1414
* Description: Send WordPress Pages, Posts or Custom Post Types to your Buffer (buffer.com) account for scheduled publishing to social networks.
@@ -27,8 +27,8 @@
2727
}
2828

2929
// Define Plugin version and build date.
30-
define( 'WP_TO_BUFFER_PLUGIN_VERSION', '6.0.9' );
31-
define( 'WP_TO_BUFFER_PLUGIN_BUILD_DATE', '2026-06-29 14:00:00' );
30+
define( 'WP_TO_BUFFER_PLUGIN_VERSION', '6.1.0' );
31+
define( 'WP_TO_BUFFER_PLUGIN_BUILD_DATE', '2026-07-08 22:00:00' );
3232

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

0 commit comments

Comments
 (0)