Skip to content

Commit 9a1d2ec

Browse files
committed
Bump version to 1.0.8, update changelog, and fix file path for GitHub updater
- Updated version number in package.json, super-admin-switch-to-admin.php, and readme.txt to 1.0.8. - Added changelog entry for version 1.0.8 indicating a bugfix. - Corrected the file path for the GitHub plugin updater in super-admin-switch-to-admin.php.
1 parent e5f02e3 commit 9a1d2ec

4 files changed

Lines changed: 12 additions & 4 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ If you are logged in as a super admin, this plugin allows you to switch to a reg
3030

3131
## Changelog
3232

33+
### 1.0.8
34+
* Bugfix
35+
3336
### 1.0.7
3437
- Use generic [WordPress Plugin GitHub Updater](https://github.com/soderlind/wordpress-plugin-gitHub-updater?tab=readme-ov-file#wordpress-plugin-github-updater)
3538

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "super-admin-switch-to-admin",
3-
"version": "1.0.7",
3+
"version": "1.0.8",
44
"description": "Switch to the admin user for Super Admins.",
55
"keywords": [
66
"wordpress",

readme.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: super admin, multisite, admin, switch
44
Requires at least: 6.5
55
Tested up to: 6.8
66
Requires PHP: 8.2
7-
Stable tag: 1.0.7
7+
Stable tag: 1.0.8
88
License: GPLv2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
1010

@@ -35,6 +35,11 @@ It lists all admins for the current site, except for the super admin., and creat
3535

3636

3737
== Changelog ==
38+
39+
= 1.0.8 =
40+
* Bugfix
41+
42+
3843
= 1.0.7 =
3944
* Use generic [WordPress Plugin GitHub Updater](https://github.com/soderlind/wordpress-plugin-gitHub-updater?tab=readme-ov-file#wordpress-plugin-github-updater)
4045

super-admin-switch-to-admin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Plugin URI: https://github.com/soderlind/super-admin-switch-to-admin
1313
* GitHub Plugin URI: https://github.com/soderlind/super-admin-switch-to-admin
1414
* Description: If you are logged in as a super admin, allows you to switch to a regular admin account on the current site.
15-
* Version: 1.0.7
15+
* Version: 1.0.8
1616
* Author: Per Soderlind
1717
* Author URI: https://soderlind.no
1818
* Network: true
@@ -37,7 +37,7 @@
3737

3838
// Include plugin updater
3939
if ( ! class_exists( 'Soderlind\WordPress\GitHub_Plugin_Updater' ) ) {
40-
require_once MULTISITE_EXPORTER_PLUGIN_DIR . 'includes/class-github-plugin-updater.php';
40+
require_once SWITCH_TO_ADMIN_PATH . 'includes/class-github-plugin-updater.php';
4141
}
4242

4343
// Initialize the plugin updater.

0 commit comments

Comments
 (0)