Changelog

  • Improvements (1)

    • Autoblue settings page is now more mobile-friendly.

    Fixes (2)

    • Link to the Bluesky post after sharing works again.
    • Excerpts now render correctly in the Bluesky post.
  • Autoblue has a new autoblue/share_message filter that can be used to modify the message when sharing to Bluesky using PHP.

    For example, you could use it to append all post tags as hashtags to the share message:

    PHP
    add_filter(
    	'autoblue/share_message',
    	function ( $message, $post_id ) {
    		$tags = wp_get_post_tags( $post_id, [ 'fields' => 'names' ] );
    
    		if ( ! empty( $tags ) ) {
    			$tags     = array_map( fn( $tag ) => '#' . sanitize_title( $tag ), $tags );
    			$message .= ' ' . implode( ' ', $tags );
    		}
    
    		return $message;
    	},
    	10,
    	2
    );

    Improvements (1)

    • Add filter for setting a custom share message

    Fixes (1)

    • Excerpts are now trimmed correctly before being shared
  • Fixes (3)

    • Script translations are now loaded properly (props @imath)
    • Shared posts no longer trigger warning in editor about invalid type (props @imath)
    • Custom table for logs now works with older versions of MySQL and MariaDB (props @imath)
  • Fixes (1)

    • Autoblue now supports PHP 7.4 again.
  • Improvements (1)

    • Autoblue now deletes all associated data when deleting the plugin.
  • Initial release.