diff --git a/includes/class-post-handler.php b/includes/class-post-handler.php index 05291ce..ded4a94 100755 --- a/includes/class-post-handler.php +++ b/includes/class-post-handler.php @@ -329,7 +329,7 @@ public function post_to_mastodon( $post_id ) { $status .= ' ' . esc_url_raw( get_permalink( $post->ID ) ); $status = apply_filters( 'share_on_mastodon_status', $status, $post ); - $args = apply_filters( 'share_on_mastodon_toot_args', array( 'status' => $status ) ); + $args = apply_filters( 'share_on_mastodon_toot_args', array( 'status' => $status ), $post ); if ( apply_filters( 'share_on_mastodon_cutoff', false ) ) { // May render hashtags or URLs, or unfiltered HTML, at the very end diff --git a/readme.txt b/readme.txt index 0ae535c..3eff4e7 100755 --- a/readme.txt +++ b/readme.txt @@ -1,7 +1,8 @@ === Share on Mastodon === Contributors: janboddez Tags: mastodon, share, publicize, crosspost, fediverse -Tested up to: 6.0 +Tested up to: 6.1 +Stable tag: 0.9.0 License: GNU General Public License v3.0 License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -27,6 +28,12 @@ After activation, head over to *Settings > Share on Mastodon* to authorize WordP More detailed instructions can be found on [this plugin's GitHub page](https://github.com/janboddez/share-on-mastodon). == Changelog == += 0.9.0 - +Additional `share_on_mastodon_toot_args` filter argument. Add stable tag. + += 0.8.0 = +Add as Micropub syndication target. + = 0.7.0 = Include option to delay crossposting. Might be used to try to fix issues with slow image uploads and the like. diff --git a/share-on-mastodon.php b/share-on-mastodon.php index 4b0620e..aac953f 100755 --- a/share-on-mastodon.php +++ b/share-on-mastodon.php @@ -8,7 +8,7 @@ * License: GNU General Public License v3 * License URI: http://www.gnu.org/licenses/gpl-3.0.html * Text Domain: share-on-mastodon - * Version: 0.8.0 + * Version: 0.9.0 * * @author Jan Boddez * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0