Commit ef0458f1 authored by Thomas's avatar Thomas
Browse files

Last WP changes

parent 7970e4a7
...@@ -16,7 +16,7 @@ Mastalab comments allows to display comments from Mastodon and Peertube related ...@@ -16,7 +16,7 @@ Mastalab comments allows to display comments from Mastodon and Peertube related
Mastalab Comments is a plugin for Mastodon and Peertube. You will need an account on a Mastodon instance like mastodon.social. Mastalab Comments is a plugin for Mastodon and Peertube. You will need an account on a Mastodon instance like mastodon.social.
If you don't have an account, you can pick up an instance at https://instances.social an register on it. If you don't have an account, you can pick up an instance at https://instances.social an register on it.
Mastodon is a decentralized social Network, that means it's run by several instances (host). Mastodon is a decentralized social Network, that means it's run by several instances (host). If you don't know what Mastodon is, you can have more info at https://joinmastodon.org/
The plugin uses the Mastodon and Peertube API (the last one currently doesn't need credentials). The plugin uses the Mastodon and Peertube API (the last one currently doesn't need credentials).
......
...@@ -67,8 +67,8 @@ class Mastalab_comments { ...@@ -67,8 +67,8 @@ class Mastalab_comments {
* @since 1.0.0 * @since 1.0.0
*/ */
public function __construct() { public function __construct() {
if ( defined( 'PLUGIN_NAME_VERSION' ) ) { if ( defined( 'MASTALAB_COMMENT_VERSION' ) ) {
$this->version = PLUGIN_NAME_VERSION; $this->version = MASTALAB_COMMENT_VERSION;
} else { } else {
$this->version = '1.0.0'; $this->version = '1.0.0';
} }
......
...@@ -35,7 +35,7 @@ if ( ! defined( 'WPINC' ) ) { ...@@ -35,7 +35,7 @@ if ( ! defined( 'WPINC' ) ) {
* Start at version 1.0.0 and use SemVer - https://semver.org * 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. * Rename this for your plugin and update it as you release new versions.
*/ */
define( 'PLUGIN_NAME_VERSION', 'mastalab_comments_1.0.7' ); define( 'MASTALAB_COMMENT_VERSION', '1.0.7' );
/** /**
* The code that runs during plugin activation. * The code that runs during plugin activation.
......
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