Skip to content

Commit

Permalink
Merge pull request #50 from circuscode/develop
Browse files Browse the repository at this point in the history
Mastodon Verification
  • Loading branch information
circuscode authored Apr 26, 2024
2 parents e0f302e + 66e0e7f commit 520f5c1
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 3 deletions.
7 changes: 7 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ The plugin provides the following additional features.
* Custom WordPress Settings
* Custom WordPress Tools
* Maintenance Mode
* Mastodon Verification

## Related Theme

Expand Down Expand Up @@ -192,6 +193,12 @@ This project is licensed under the GPL3 License.

## Changelog

### 0.8

Release pending.

* Added: Mastodon Verification

### 0.7

Released: 01.05.2023
Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Contributors: unmus
Tags: blog, custom
Requires at least: 6.2
Tested up to: 6.2
Stable tag: 0.7
Tested up to: 6.5
Stable tag: 0.8
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down
3 changes: 2 additions & 1 deletion unmus.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin Name: unmus
Plugin URI: https://www.unmus.de/
Description: Additional WordPress Features @ unmus
Version: 0.7
Version: 0.8
Author: Marco Hitschler
Author URI: https://www.unmus.de/
License: GPL3
Expand Down Expand Up @@ -43,6 +43,7 @@
require_once('unmus_loop.php');
require_once('unmus_archives.php');
require_once('unmus_menu.php');
require_once('unmus_me.php');

// Ensure that all required functions are available during setup
require_once( ABSPATH . 'wp-admin/includes/upgrade.php');
Expand Down
30 changes: 30 additions & 0 deletions unmus_me.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php

/**
* Me
*
* @package unmus
* @since 0.8
*/

// Security: Stops code execution if WordPress is not loaded
if (!defined('ABSPATH')) { exit; }

/**
* Mastodon Verification
*
* @since 0.8
*/

function unmus_mastodon_verification() {

?>

<link href="https://mastodon.social/@irrlicht" rel="me">

<?php

}
add_action('wp_head', 'unmus_mastodon_verification');

?>

0 comments on commit 520f5c1

Please sign in to comment.