Skip to content

Commit 66e0e7f

Browse files
committed
Mastodon Verification
1 parent 33317a2 commit 66e0e7f

File tree

4 files changed

+41
-3
lines changed

4 files changed

+41
-3
lines changed

readme.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ The plugin provides the following additional features.
149149
* Custom WordPress Settings
150150
* Custom WordPress Tools
151151
* Maintenance Mode
152+
* Mastodon Verification
152153

153154
## Related Theme
154155

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

193194
## Changelog
194195

196+
### 0.8
197+
198+
Release pending.
199+
200+
* Added: Mastodon Verification
201+
195202
### 0.7
196203

197204
Released: 01.05.2023

readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
Contributors: unmus
33
Tags: blog, custom
44
Requires at least: 6.2
5-
Tested up to: 6.2
6-
Stable tag: 0.7
5+
Tested up to: 6.5
6+
Stable tag: 0.8
77
License: GNU General Public License v3 or later
88
License URI: https://www.gnu.org/licenses/gpl-3.0.html
99

unmus.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Plugin Name: unmus
55
Plugin URI: https://www.unmus.de/
66
Description: Additional WordPress Features @ unmus
7-
Version: 0.7
7+
Version: 0.8
88
Author: Marco Hitschler
99
Author URI: https://www.unmus.de/
1010
License: GPL3
@@ -43,6 +43,7 @@
4343
require_once('unmus_loop.php');
4444
require_once('unmus_archives.php');
4545
require_once('unmus_menu.php');
46+
require_once('unmus_me.php');
4647

4748
// Ensure that all required functions are available during setup
4849
require_once( ABSPATH . 'wp-admin/includes/upgrade.php');

unmus_me.php

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?php
2+
3+
/**
4+
* Me
5+
*
6+
* @package unmus
7+
* @since 0.8
8+
*/
9+
10+
// Security: Stops code execution if WordPress is not loaded
11+
if (!defined('ABSPATH')) { exit; }
12+
13+
/**
14+
* Mastodon Verification
15+
*
16+
* @since 0.8
17+
*/
18+
19+
function unmus_mastodon_verification() {
20+
21+
?>
22+
23+
<link href="https://mastodon.social/@irrlicht" rel="me">
24+
25+
<?php
26+
27+
}
28+
add_action('wp_head', 'unmus_mastodon_verification');
29+
30+
?>

0 commit comments

Comments
 (0)