Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Deactivate itself if Webmention Version is 5.0.0 or above
Browse files Browse the repository at this point in the history
  • Loading branch information
pfefferle committed Jan 27, 2023
1 parent 6ba6b5c commit 6dffdc6
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 10 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Semantic-Linkbacks #
**Contributors:** [pfefferle](https://profiles.wordpress.org/pfefferle), [dshanske](https://profiles.wordpress.org/dshanske), [edent](https://profiles.wordpress.org/edent)
**Contributors:** [pfefferle](https://profiles.wordpress.org/pfefferle/), [dshanske](https://profiles.wordpress.org/dshanske/), [edent](https://profiles.wordpress.org/edent/)
**Donate link:** https://notiz.blog/donate/
**Tags:** webmention, pingback, trackback, linkback, microformats, comments, indieweb
**Requires at least:** 4.9
**Requires PHP:** 5.6
**Tested up to:** 5.9
**Stable tag:** 3.11.1
**Tested up to:** 6.1
**Stable tag:** 3.12.0
**License:** MIT
**License URI:** http://opensource.org/licenses/MIT

Expand Down Expand Up @@ -86,6 +86,10 @@ The plugin uses a locally cached version of the mystery icon normally provided b

Project actively developed on Github at [pfefferle/wordpress-semantic-linkbacks](https://github.com/pfefferle/wordpress-semantic-linkbacks). Please file support issues there.

### 3.12.0 ###

* Deactivate itself if Webmention Version is 5.0.0 or above

### 3.11.1 ###

* Fix HTML issue
Expand Down
8 changes: 6 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Donate link: https://notiz.blog/donate/
Tags: webmention, pingback, trackback, linkback, microformats, comments, indieweb
Requires at least: 4.9
Requires PHP: 5.6
Tested up to: 5.9
Stable tag: 3.11.1
Tested up to: 6.1
Stable tag: 3.12.0
License: MIT
License URI: http://opensource.org/licenses/MIT

Expand Down Expand Up @@ -86,6 +86,10 @@ The plugin uses a locally cached version of the mystery icon normally provided b

Project actively developed on Github at [pfefferle/wordpress-semantic-linkbacks](https://github.com/pfefferle/wordpress-semantic-linkbacks). Please file support issues there.

= 3.12.0 =

* Deactivate itself if Webmention Version is 5.0.0 or above

= 3.11.1 =

* Fix HTML issue
Expand Down
12 changes: 7 additions & 5 deletions semantic-linkbacks.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,27 @@
* Description: Semantic Linkbacks for WebMentions, Trackbacks and Pingbacks
* Author: Matthias Pfefferle
* Author URI: https://notiz.blog/
* Version: 3.11.1
* Version: 3.12.0
* License: MIT
* License URI: http://opensource.org/licenses/MIT
* Text Domain: semantic-linkbacks
* Requires PHP: 5.6
*/

add_action( 'plugins_loaded', array( 'Semantic_Linkbacks_Plugin', 'init' ), 11 );
if ( ! function_exists( '\Webmention\version' ) || version_compare( \Webmention\version(), '5.0.0', '<' ) ) {
add_action( 'plugins_loaded', array( 'Semantic_Linkbacks_Plugin', 'init' ), 11 );

// initialize admin settings
add_action( 'admin_init', array( 'Semantic_Linkbacks_Plugin', 'admin_init' ) );
// initialize admin settings
add_action( 'admin_init', array( 'Semantic_Linkbacks_Plugin', 'admin_init' ) );
}

/**
* Semantic linkbacks class
*
* @author Matthias Pfefferle
*/
class Semantic_Linkbacks_Plugin {
public static $version = '3.10.3';
public static $version = '3.12.0';
/**
* Initialize the plugin, registering WordPress hooks.
*/
Expand Down

0 comments on commit 6dffdc6

Please sign in to comment.