Commit 1513b7b8 authored by Thomas's avatar Thomas
Browse files

Prepares release 1.0.6

parent 2d593571
......@@ -28,7 +28,7 @@ This section describes how to install the plugin and get it working.
e.g.
1. Upload `mastodon_comments.php` to the `/wp-content/plugins/` directory
1. Upload `mastalab_comments.php` to the `/wp-content/plugins/` directory
1. Activate the plugin through the 'Plugins' menu in WordPress
1. Place `<?php do_action('plugin_name_hook'); ?>` in your templates
......
......@@ -6,8 +6,8 @@
* @link https://gitlab.com/tom79
* @since 1.0.0
*
* @package Mastodon_comments
* @subpackage Mastodon_comments/admin
* @package Mastalab_comments
* @subpackage Mastalab_comments/admin
*/
/**
......@@ -16,11 +16,11 @@
* Defines the plugin name, version, and two examples hooks for how to
* enqueue the admin-specific stylesheet and JavaScript.
*
* @package Mastodon_comments
* @subpackage Mastodon_comments/admin
* @package Mastalab_comments
* @subpackage Mastalab_comments/admin
* @author Thomas Schneider <tschneider.ac@gmail.com>
*/
class Mastodon_comments_Admin {
class Mastalab_comments_Admin {
/**
* The ID of this plugin.
......@@ -65,15 +65,15 @@ class Mastodon_comments_Admin {
* This function is provided for demonstration purposes only.
*
* An instance of this class should be passed to the run() function
* defined in Mastodon_comments_Loader as all of the hooks are defined
* defined in Mastalab_comments_Loader as all of the hooks are defined
* in that particular class.
*
* The Mastodon_comments_Loader will then create the relationship
* The Mastalab_comments_Loader will then create the relationship
* between the defined hooks and the functions defined in this
* class.
*/
wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'css/mastodon_comments-admin.css', array(), $this->version, 'all' );
wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'css/mastalab_comments-admin.css', array(), $this->version, 'all' );
}
......@@ -88,15 +88,15 @@ class Mastodon_comments_Admin {
* This function is provided for demonstration purposes only.
*
* An instance of this class should be passed to the run() function
* defined in Mastodon_comments_Loader as all of the hooks are defined
* defined in Mastalab_comments_Loader as all of the hooks are defined
* in that particular class.
*
* The Mastodon_comments_Loader will then create the relationship
* The Mastalab_comments_Loader will then create the relationship
* between the defined hooks and the functions defined in this
* class.
*/
wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/mastodon_comments-admin.js', array( 'jquery' ), $this->version, false );
wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/mastalab_comments-admin.js', array( 'jquery' ), $this->version, false );
}
......@@ -109,7 +109,7 @@ class Mastodon_comments_Admin {
global $active_tab;
$active_tab = isset( $_GET['tab'] ) ? $_GET['tab'] : 'settings';
include_once( 'partials/mastodon_comments-admin-display.php' );
include_once( 'partials/mastalab_comments-admin-display.php' );
}
public function register_session() {
......@@ -127,7 +127,7 @@ class Mastodon_comments_Admin {
function mw_enqueue_color_picker( $hook_suffix ) {
// first check that $hook_suffix is appropriate for your admin page
wp_enqueue_style( 'wp-color-picker' );
wp_enqueue_script( 'my-script-handle', plugins_url('js/mastodon_comments-admin.js', __FILE__ ), array( 'wp-color-picker' ), false, true );
wp_enqueue_script( 'my-script-handle', plugins_url('js/mastalab_comments-admin.js', __FILE__ ), array( 'wp-color-picker' ), false, true );
}
}
......@@ -3,16 +3,16 @@
* included in this file.
*/
#mastodon_comments_help {
#mastalab_comments_help {
list-style: square outside none;
margin-left: 15px;
}
#mastodon_comments_help li{
#mastalab_comments_help li{
list-style: square outside none;
}
.blockquote_mastodon_comments {
.blockquote_mastalab_comments {
font-family: Georgia, serif;
font-size: 16px;
margin: 0.25em 0;
......
......@@ -7,7 +7,7 @@
*/
defined('ABSPATH') or die("No script kiddies please!");
global $active_tab;
$plugin_data = get_plugin_data( dirname(__FILE__)."/../../../mastodon_comments.php" );
$plugin_data = get_plugin_data( dirname(__FILE__)."/../../../mastalab_comments.php" );
?>
<h2 class="nav-tab-wrapper"><?php _e('Help', $this->plugin_name);?></h2>
......@@ -20,10 +20,10 @@ $plugin_data = get_plugin_data( dirname(__FILE__)."/../../../mastodon_comments.p
<?php echo esc_html__("Your instance must support full-text search", $this->plugin_name);?>
</p>
<p>
<p class="blockquote_mastodon_comments">
<p class="blockquote_mastalab_comments">
<?php echo esc_html__("How it works?", $this->plugin_name);?>
</p>
<ul id="mastodon_comments_help">
<ul id="mastalab_comments_help">
<li><?php echo esc_html__("You need to connect your account, the choice is really important. You should connect an account that publishes URLs", $this->plugin_name);?></li>
<li><?php echo esc_html__("If you get an error with the authorization code, you can first logout your account on your Mastodon instance.", $this->plugin_name);?></li>
<li><?php echo esc_html__("Your Wordpress theme can use a different ID for comments section, you should enter the right one in the settings page", $this->plugin_name);?></li>
......@@ -32,7 +32,7 @@ $plugin_data = get_plugin_data( dirname(__FILE__)."/../../../mastodon_comments.p
</p>
<p>
<p class="blockquote_mastodon_comments">
<p class="blockquote_mastalab_comments">
<?php echo esc_html__("Your instance does not support full-text search?", $this->plugin_name);?>
</p>
<ol>
......
......@@ -22,7 +22,7 @@ if( isset($optionsAccount['disconnect']) && $optionsAccount['disconnect'] == 1){
unset($_SESSION['client_id']);
unset($_SESSION['client_secret']);
unset($_SESSION['token']);
$wpdb->query('DELETE FROM '. $wpdb->prefix . 'mastodon_comment_users');
$wpdb->query('DELETE FROM '. $wpdb->prefix . 'mastalab_comments_users');
delete_option($this->plugin_name.'account');
}
......@@ -58,7 +58,7 @@ if( isset($optionsPreferences['selector']) ){
if( ! isset($_SESSION['mc_step']))
$_SESSION['mc_step'] = 1;
$currentUser = $wpdb->get_results("SELECT * FROM ".$wpdb->prefix . "mastodon_comment_users ORDER BY date DESC LIMIT 1", OBJECT );
$currentUser = $wpdb->get_results("SELECT * FROM ".$wpdb->prefix . "mastalab_comments_users ORDER BY date DESC LIMIT 1", OBJECT );
......@@ -87,6 +87,9 @@ if( !empty($currentUser) && !empty($currentUser[0]->mastodon_instance) && strlen
</div>
<?php
$_SESSION['mc_step'] = 3;
}else{
if($_SESSION['mc_step'] == 3 )
$_SESSION['mc_step'] = 1;
}
$redirectURI = null;
//No valid account, the user need to login in (two steps : Client + Credentials)
......@@ -142,14 +145,12 @@ if ( isset($options['oauth']) ){
$response = $Mastodon_api->accounts_verify_credentials();
if( ! isset($response['html']['error'])) {
$wpdb->insert(
$wpdb->prefix . 'mastodon_comment_users',
$wpdb->prefix . 'mastalab_comments_users',
array(
'date' => $dateInsert->format('Y-m-d H:i:s'),
'user_id' => $response['html']['id'],
'mastodon_instance' => $_SESSION['instance_name'],
'token' => $_SESSION['token'],
'threshold' => 600
'token' => $_SESSION['token']
)
);
?>
......@@ -169,6 +170,7 @@ if ( isset($options['oauth']) ){
unset($_SESSION['instance_name']);
unset($_SESSION['client_secret']);
unset($_SESSION['client_id']);
unset($_SESSION['token']);
delete_option( $this->plugin_name."settings");
$_SESSION['mc_step'] = 3;
}
......
......@@ -8,8 +8,8 @@
* @link https://gitlab.com/tom79
* @since 1.0.0
*
* @package Mastodon_comments
* @subpackage Mastodon_comments/admin/partials
* @package Mastalab_comments
* @subpackage Mastalab_comments/admin/partials
*/
defined('ABSPATH') or die("No script kiddies please!");
global $active_tab;
......
......@@ -6,8 +6,8 @@
* @link https://gitlab.com/tom79
* @since 1.0.0
*
* @package Mastodon_comments
* @subpackage Mastodon_comments/includes
* @package Mastalab_comments
* @subpackage Mastalab_comments/includes
*/
/**
......@@ -16,11 +16,11 @@
* This class defines all code necessary to run during the plugin's activation.
*
* @since 1.0.0
* @package Mastodon_comments
* @subpackage Mastodon_comments/includes
* @package Mastalab_comments
* @subpackage Mastalab_comments/includes
* @author Thomas Schneider <tschneider.ac@gmail.com>
*/
class Mastodon_comments_Activator {
class Mastalab_comments_Activator {
private static $_db_version = '1.0.4';
/**
......@@ -32,26 +32,25 @@ class Mastodon_comments_Activator {
*/
public static function activate() {
Mastodon_comments_Activator::create_users();
Mastalab_comments_Activator::create_users();
//Create cache since version 1.0.4
//Remove an unused field in table
Mastodon_comments_Activator::create_cache();
Mastalab_comments_Activator::create_cache();
}
private static function create_users(){
global $wpdb;
global $tom79_mastodon_comment_db_version;
$tom79_mastodon_comment_db_version = Mastodon_comments_Activator::$_db_version;
global $tom79_mastalab_comments_db_version;
$tom79_mastalab_comments_db_version = Mastalab_comments_Activator::$_db_version;
$table_name = $wpdb->prefix . 'mastodon_comment_users';
$table_name = $wpdb->prefix . 'mastalab_comments_users';
$charset_collate = $wpdb->get_charset_collate();
$sql = "CREATE TABLE IF NOT EXISTS $table_name (
id mediumint(9) NOT NULL AUTO_INCREMENT,
mastodon_instance VARCHAR(255) DEFAULT '',
user_id VARCHAR(255),
threshold INTEGER DEFAULT -1,
token VARCHAR(255),
date datetime DEFAULT '0000-00-00 00:00:00',
UNIQUE KEY id (id)
......@@ -60,7 +59,7 @@ class Mastodon_comments_Activator {
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
dbDelta( $sql );
add_option( 'tom79_mastodon_comment_db_version', $tom79_mastodon_comment_db_version );
add_option( 'tom79_mastalab_comments_db_version', $tom79_mastalab_comments_db_version );
}
......@@ -68,19 +67,19 @@ class Mastodon_comments_Activator {
* Cache results
*
* Calls to instances will be saved in the db
* An old field is removed for the table 'mastodon_comment_users'
* An old field is removed for the table 'mastalab_comments_users'
*
* @since 1.0.4
*/
private static function create_cache()
{
global $wpdb;
global $tom79_mastodon_comment_db_version;
$tom79_mastodon_comment_db_version = Mastodon_comments_Activator::$_db_version;
$installed_ver = get_option( "tom79_mastodon_comment_db_version" );
global $tom79_mastalab_comments_db_version;
$tom79_mastalab_comments_db_version = Mastalab_comments_Activator::$_db_version;
$installed_ver = get_option( "tom79_mastalab_comments_db_version" );
if ( $installed_ver <= $tom79_mastodon_comment_db_version ) {
$table_name = $wpdb->prefix . 'mastodon_comment_cache';
if ( $installed_ver <= $tom79_mastalab_comments_db_version ) {
$table_name = $wpdb->prefix . 'mastalab_comments_cache';
$charset_collate = $wpdb->get_charset_collate();
$sql = "CREATE TABLE IF NOT EXISTS $table_name (
......@@ -90,14 +89,10 @@ class Mastodon_comments_Activator {
date datetime DEFAULT '0000-00-00 00:00:00',
UNIQUE KEY id (id)
) $charset_collate;";
$table_name = $wpdb->prefix . 'mastodon_comment_users';
$sqlRemove = "ALTER TABLE " . $table_name . " DROP COLUMN targeted_element;";
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
dbDelta( $sql );
dbDelta( $sqlRemove );
update_option( "tom79_mastodon_comment_db_version", $tom79_mastodon_comment_db_version );
update_option( "tom79_mastalab_comments_db_version", $tom79_mastalab_comments_db_version );
}
}
}
......@@ -6,8 +6,8 @@
* @link https://gitlab.com/tom79
* @since 1.0.0
*
* @package Mastodon_comments
* @subpackage Mastodon_comments/includes
* @package Mastalab_comments
* @subpackage Mastalab_comments/includes
*/
/**
......@@ -16,11 +16,11 @@
* This class defines all code necessary to run during the plugin's deactivation.
*
* @since 1.0.0
* @package Mastodon_comments
* @subpackage Mastodon_comments/includes
* @package Mastalab_comments
* @subpackage Mastalab_comments/includes
* @author Thomas Schneider <tschneider.ac@gmail.com>
*/
class Mastodon_comments_Deactivator {
class Mastalab_comments_Deactivator {
/**
* Short Description. (use period)
......
......@@ -9,8 +9,8 @@
* @link https://gitlab.com/tom79
* @since 1.0.0
*
* @package Mastodon_comments
* @subpackage Mastodon_comments/includes
* @package Mastalab_comments
* @subpackage Mastalab_comments/includes
*/
/**
......@@ -20,11 +20,11 @@
* so that it is ready for translation.
*
* @since 1.0.0
* @package Mastodon_comments
* @subpackage Mastodon_comments/includes
* @package Mastalab_comments
* @subpackage Mastalab_comments/includes
* @author Thomas Schneider <tschneider.ac@gmail.com>
*/
class Mastodon_comments_i18n {
class Mastalab_comments_i18n {
/**
......@@ -35,7 +35,7 @@ class Mastodon_comments_i18n {
public function load_plugin_textdomain() {
load_plugin_textdomain(
'mastodon_comments',
'mastalab_comments',
false,
dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
);
......
......@@ -6,8 +6,8 @@
* @link https://gitlab.com/tom79
* @since 1.0.0
*
* @package Mastodon_comments
* @subpackage Mastodon_comments/includes
* @package Mastalab_comments
* @subpackage Mastalab_comments/includes
*/
/**
......@@ -17,11 +17,11 @@
* the plugin, and register them with the WordPress API. Call the
* run function to execute the list of actions and filters.
*
* @package Mastodon_comments
* @subpackage Mastodon_comments/includes
* @package Mastalab_comments
* @subpackage Mastalab_comments/includes
* @author Thomas Schneider <tschneider.ac@gmail.com>
*/
class Mastodon_comments_Loader {
class Mastalab_comments_Loader {
/**
* The array of actions registered with WordPress.
......
......@@ -9,8 +9,8 @@
* @link https://gitlab.com/tom79
* @since 1.0.0
*
* @package Mastodon_comments
* @subpackage Mastodon_comments/includes
* @package Mastalab_comments
* @subpackage Mastalab_comments/includes
*/
/**
......@@ -23,11 +23,11 @@
* version of the plugin.
*
* @since 1.0.0
* @package Mastodon_comments
* @subpackage Mastodon_comments/includes
* @package Mastalab_comments
* @subpackage Mastalab_comments/includes
* @author Thomas Schneider <tschneider.ac@gmail.com>
*/
class Mastodon_comments {
class Mastalab_comments {
/**
* The loader that's responsible for maintaining and registering all hooks that power
......@@ -35,7 +35,7 @@ class Mastodon_comments {
*
* @since 1.0.0
* @access protected
* @var Mastodon_comments_Loader $loader Maintains and registers all hooks for the plugin.
* @var Mastalab_comments_Loader $loader Maintains and registers all hooks for the plugin.
*/
protected $loader;
......@@ -72,7 +72,7 @@ class Mastodon_comments {
} else {
$this->version = '1.0.0';
}
$this->plugin_name = 'Mastodon_Comments';
$this->plugin_name = 'mastalab-comments';
$this->load_dependencies();
$this->set_locale();
......@@ -86,10 +86,10 @@ class Mastodon_comments {
*
* Include the following files that make up the plugin:
*
* - Mastodon_comments_Loader. Orchestrates the hooks of the plugin.
* - Mastodon_comments_i18n. Defines internationalization functionality.
* - Mastodon_comments_Admin. Defines all hooks for the admin area.
* - Mastodon_comments_Public. Defines all hooks for the public side of the site.
* - Mastalab_comments_Loader. Orchestrates the hooks of the plugin.
* - Mastalab_comments_i18n. Defines internationalization functionality.
* - Mastalab_comments_Admin. Defines all hooks for the admin area.
* - Mastalab_comments_Public. Defines all hooks for the public side of the site.
*
* Create an instance of the loader which will be used to register the hooks
* with WordPress.
......@@ -103,33 +103,33 @@ class Mastodon_comments {
* The class responsible for orchestrating the actions and filters of the
* core plugin.
*/
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-mastodon_comments-loader.php';
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-mastalab_comments-loader.php';
/**
* The class responsible for defining internationalization functionality
* of the plugin.
*/
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-mastodon_comments-i18n.php';
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-mastalab_comments-i18n.php';
/**
* The class responsible for defining all actions that occur in the admin area.
*/
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-mastodon_comments-admin.php';
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-mastalab_comments-admin.php';
/**
* The class responsible for defining all actions that occur in the public-facing
* side of the site.
*/
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-mastodon_comments-public.php';
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-mastalab_comments-public.php';
$this->loader = new Mastodon_comments_Loader();
$this->loader = new Mastalab_comments_Loader();
}
/**
* Define the locale for this plugin for internationalization.
*
* Uses the Mastodon_comments_i18n class in order to set the domain and to register the hook
* Uses the Mastalab_comments_i18n class in order to set the domain and to register the hook
* with WordPress.
*
* @since 1.0.0
......@@ -137,7 +137,7 @@ class Mastodon_comments {
*/
private function set_locale() {
$plugin_i18n = new Mastodon_comments_i18n();
$plugin_i18n = new Mastalab_comments_i18n();
$this->loader->add_action( 'plugins_loaded', $plugin_i18n, 'load_plugin_textdomain' );
......@@ -152,7 +152,7 @@ class Mastodon_comments {
*/
private function define_admin_hooks() {
$plugin_admin = new Mastodon_comments_Admin( $this->get_plugin_name(), $this->get_version() );
$plugin_admin = new Mastalab_comments_Admin( $this->get_plugin_name(), $this->get_version() );
$this->loader->add_action( 'admin_menu', $plugin_admin, 'add_plugin_admin_menu' );
$this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' );
$this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' );
......@@ -170,17 +170,17 @@ class Mastodon_comments {
*/
private function define_public_hooks() {
$plugin_public = new Mastodon_comments_Public( $this->get_plugin_name(), $this->get_version() );
$plugin_public = new Mastalab_comments_Public( $this->get_plugin_name(), $this->get_version() );
$this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_styles' );
$this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' );
$this->loader->add_action( 'wp_ajax_mastodon_comments_getcomment',$plugin_public, 'prefix_ajax_mastodon_comments_getcomment' );
$this->loader->add_action( 'wp_ajax_nopriv_mastodon_comments_getcomment',$plugin_public, 'prefix_ajax_mastodon_comments_getcomment' );
$this->loader->add_action( 'wp_ajax_mastalab_comments_getcomment',$plugin_public, 'prefix_ajax_mastalab_comments_getcomment' );
$this->loader->add_action( 'wp_ajax_nopriv_mastalab_comments_getcomment',$plugin_public, 'prefix_ajax_mastalab_comments_getcomment' );
$this->loader->add_action( 'wp_ajax_mastodon_comments_getcomment_peertube',$plugin_public, 'prefix_ajax_mastodon_comments_getcomment_peertube' );
$this->loader->add_action( 'wp_ajax_nopriv_mastodon_comments_getcomment_peertube',$plugin_public, 'prefix_ajax_mastodon_comments_getcomment_peertube' );
$this->loader->add_action( 'wp_ajax_mastalab_comments_getcomment_peertube',$plugin_public, 'prefix_ajax_mastalab_comments_getcomment_peertube' );
$this->loader->add_action( 'wp_ajax_nopriv_mastalab_comments_getcomment_peertube',$plugin_public, 'prefix_ajax_mastalab_comments_getcomment_peertube' );
}
......@@ -208,7 +208,7 @@ class Mastodon_comments {
* The reference to the class that orchestrates the hooks with the plugin.
*
* @since 1.0.0
* @return Mastodon_comments_Loader Orchestrates the hooks of the plugin.
* @return Mastalab_comments_Loader Orchestrates the hooks of the plugin.
*/
public function get_loader() {
return $this->loader;
......
......@@ -16,12 +16,12 @@
* Plugin Name: Mastalab comments
* Plugin URI: https://mastalab.app
* Description: Display comments coming from Mastodon and Peertube related to a URL
* Version: 1.0.5
* Version: 1.0.6
* Author: Thomas Schneider
* Author URI: https://gitlab.com/tom79/mastodon-comments-for-wordpress
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: mastalab_comments
* Text Domain: mastalab-comments
* Domain Path: /languages
*/
......@@ -35,34 +35,34 @@ if ( ! defined( 'WPINC' ) ) {
* Start at version 1.0.0 and use SemVer - https://semver.org
* Rename this for your plugin and update it as you release new versions.
*/
define( 'PLUGIN_NAME_VERSION', '1.0.5' );
define( 'PLUGIN_NAME_VERSION', '1.0.6' );
/**
* The code that runs during plugin activation.
* This action is documented in includes/class-mastodon_comments-activator.php
* This action is documented in includes/class-mastalab_comments-activator.php
*/
function activate_mastodon_comments() {
require_once plugin_dir_path( __FILE__ ) . 'includes/class-mastodon_comments-activator.php';
Mastodon_comments_Activator::activate();
function activate_mastalab_comments() {
require_once plugin_dir_path( __FILE__ ) . 'includes/class-mastalab_comments-activator.php';
Mastalab_comments_Activator::activate();
}
/**
* The code that runs during plugin deactivation.
* This action is documented in includes/class-mastodon_comments-deactivator.php
* This action is documented in includes/class-mastalab_comments-deactivator.php
*/
function deactivate_mastodon_comments() {
require_once plugin_dir_path( __FILE__ ) . 'includes/class-mastodon_comments-deactivator.php';
Mastodon_comments_Deactivator::deactivate();
function deactivate_mastalab_comments() {
require_once plugin_dir_path( __FILE__ ) . 'includes/class-mastalab_comments-deactivator.php';
Mastalab_comments_Deactivator::deactivate();
}
register_activation_hook( __FILE__, 'activate_mastodon_comments' );
register_deactivation_hook( __FILE__, 'deactivate_mastodon_comments' );
register_activation_hook( __FILE__, 'activate_mastalab_comments' );
register_deactivation_hook( __FILE__, 'deactivate_mastalab_comments' );
/**
* The core plugin class that is used to define internationalization,
* admin-specific hooks, and public-facing site hooks.
*/
require plugin_dir_path( __FILE__ ) . 'includes/class-mastodon_comments.php';
require plugin_dir_path( __FILE__ ) . 'includes/class-mastalab_comments.php';
/**
* Begins execution of the plugin.
......@@ -73,10 +73,10 @@ require plugin_dir_path( __FILE__ ) . 'includes/class-mastodon_comments.php';
*
* @since 1.0.0
*/
function