Commit e60ba635 authored by lucha's avatar lucha

[auto] plugin: autopost-to-mastodon 3.2.7.5

parent db23ab19
......@@ -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'
);
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment