Version Description
Download this release
Release Info
Developer | johnbillion |
Plugin | User Switching |
Version | 1.4.2 |
Comparing to | |
See all releases |
Code changes from version 1.4.1 to 1.4.2
- readme.txt +1 -1
- user-switching.php +2 -2
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Contributors: johnbillion
|
|
4 |
Tags: users, profiles, user switching, fast user switching, multisite, buddypress, bbpress, become, user management, developer
|
5 |
Requires at least: 3.7
|
6 |
Tested up to: 5.1
|
7 |
-
Stable tag: 1.4.
|
8 |
Requires PHP: 5.3
|
9 |
License: GPL v2 or later
|
10 |
|
4 |
Tags: users, profiles, user switching, fast user switching, multisite, buddypress, bbpress, become, user management, developer
|
5 |
Requires at least: 3.7
|
6 |
Tested up to: 5.1
|
7 |
+
Stable tag: 1.4.2
|
8 |
Requires PHP: 5.3
|
9 |
License: GPL v2 or later
|
10 |
|
user-switching.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
*
|
11 |
* Plugin Name: User Switching
|
12 |
* Description: Instant switching between user accounts in WordPress
|
13 |
-
* Version: 1.4.
|
14 |
* Plugin URI: https://johnblackbourn.com/wordpress-plugin-user-switching/
|
15 |
* Author: John Blackbourn & contributors
|
16 |
* Author URI: https://github.com/johnbillion/user-switching/graphs/contributors
|
@@ -461,7 +461,7 @@ class user_switching {
|
|
461 |
) );
|
462 |
}
|
463 |
|
464 |
-
if ( is_author() ) {
|
465 |
if ( $old_user ) {
|
466 |
$wp_admin_bar->add_menu( array(
|
467 |
'parent' => 'edit',
|
10 |
*
|
11 |
* Plugin Name: User Switching
|
12 |
* Description: Instant switching between user accounts in WordPress
|
13 |
+
* Version: 1.4.2
|
14 |
* Plugin URI: https://johnblackbourn.com/wordpress-plugin-user-switching/
|
15 |
* Author: John Blackbourn & contributors
|
16 |
* Author URI: https://github.com/johnbillion/user-switching/graphs/contributors
|
461 |
) );
|
462 |
}
|
463 |
|
464 |
+
if ( ! is_admin() && is_author() ) {
|
465 |
if ( $old_user ) {
|
466 |
$wp_admin_bar->add_menu( array(
|
467 |
'parent' => 'edit',
|