diff --git a/wp-content/plugins/autopost-to-mastodon/img/patron.png b/wp-content/plugins/autopost-to-mastodon/img/patron.png new file mode 100644 index 0000000000000000000000000000000000000000..291b7bcf265521a3d062024bc4f7df927ae60e8f Binary files /dev/null and b/wp-content/plugins/autopost-to-mastodon/img/patron.png differ diff --git a/wp-content/plugins/autopost-to-mastodon/img/paypal.png b/wp-content/plugins/autopost-to-mastodon/img/paypal.png new file mode 100644 index 0000000000000000000000000000000000000000..f7bf6fa7cd9d48196146b5af23d1695b301aaf4a Binary files /dev/null and b/wp-content/plugins/autopost-to-mastodon/img/paypal.png differ diff --git a/wp-content/plugins/autopost-to-mastodon/mastodon_autopost.php b/wp-content/plugins/autopost-to-mastodon/mastodon_autopost.php index 04f2ae31c95d87b1d3b53e7cb4945cf9fe955140..cae5872a3688b3112acffbff221a0063902711d4 100644 --- a/wp-content/plugins/autopost-to-mastodon/mastodon_autopost.php +++ b/wp-content/plugins/autopost-to-mastodon/mastodon_autopost.php @@ -3,7 +3,7 @@ * Plugin Name: Mastodon Autopost * Plugin URI: https://github.com/simonfrey/mastodon_wordpress_autopost * Description: A Wordpress Plugin that automatically posts your new articles to Mastodon - * Version: 3.2.6 + * Version: 3.2.7.5 * Author: L1am0 * Author URI: http://www.simon-frey.eu * License: GPL2 @@ -116,7 +116,7 @@ class autopostToMastodon wp_enqueue_script('settings_page', $plugin_url . 'js/settings_page.js', array('jquery'), $infos['Version'], true); } - if (in_array($pagenow, ['post-new.php', 'post.php'])) { + if (in_array($pagenow, array('post-new.php', 'post.php'))) { $plugin_url = plugin_dir_url(__FILE__); wp_enqueue_script('toot_editor', $plugin_url . 'js/toot_editor.js', array('jquery'), $infos['Version'], true); @@ -140,7 +140,7 @@ class autopostToMastodon add_options_page( 'Mastodon Autopost', 'Mastodon Autopost', - 'manage_options', + 'install_plugins', 'autopost-to-mastodon', array($this, 'show_configuration_page') ); @@ -427,7 +427,7 @@ class autopostToMastodon 'autopostToMastodon_metabox', 'Mastodon Autopost', array($this, 'metabox'), - ['post', 'page'], + array('post', 'page'), 'side', 'high' ); diff --git a/wp-content/plugins/autopost-to-mastodon/readme.txt b/wp-content/plugins/autopost-to-mastodon/readme.txt index 738117b56caed3eda984620731f21845b254ae87..8abd514c723bc3ef67777fcbdb9faa661ca9b68e 100644 --- a/wp-content/plugins/autopost-to-mastodon/readme.txt +++ b/wp-content/plugins/autopost-to-mastodon/readme.txt @@ -3,7 +3,7 @@ Contributors: l1am0, Hellexis Tags: mastodon, Mastodon, Mastdon Autopost, federated web, GNU social, statusnet, social web, social media, auto post Requires at least: 4.6 Tested up to: 5.0 -Stable tag: 3.2.6 +Stable tag: 3.2.7.5 License: GPLv2 Donate link: https://patreon.com/simonfrey License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -46,6 +46,12 @@ The plugin never transmits any data to me, or anyone else than the mastodon node == Changelog == += 3.2.7.5 = +* Revert changes + += 3.2.7 = +* Auth workflow change + = 3.2.6 = * Change permission for settings page to manage_options