diff --git a/src/wp-admin/includes/class-wp-screen.php b/src/wp-admin/includes/class-wp-screen.php
index 398bb07..805ea4c 100644
a
|
b
|
|
335 | 335 | break; |
336 | 336 | } |
337 | 337 | |
338 | | if ( 'network' == $in_admin ) { |
339 | | $id .= '-network'; |
340 | | $base .= '-network'; |
341 | | } elseif ( 'user' == $in_admin ) { |
342 | | $id .= '-user'; |
343 | | $base .= '-user'; |
344 | | } |
345 | | |
346 | 338 | if ( isset( self::$_registry[ $id ] ) ) { |
347 | 339 | $screen = self::$_registry[ $id ]; |
348 | 340 | if ( $screen === get_current_screen() ) |
diff --git a/src/wp-admin/includes/plugin.php b/src/wp-admin/includes/plugin.php
index f2b2a9a..0006d4a 100644
a
|
b
|
|
1708 | 1708 | |
1709 | 1709 | $plugin_name = preg_replace( '!\.php!', '', $plugin_page ); |
1710 | 1710 | |
1711 | | return $page_type . '_page_' . $plugin_name; |
| 1711 | $hookname = $page_type . '_page_' . $plugin_name; |
| 1712 | |
| 1713 | // Modify hookname based if network/user dashboard |
| 1714 | if ( is_network_admin() ) { |
| 1715 | $hookname .= '-network'; |
| 1716 | } elseif ( is_user_admin() ) { |
| 1717 | $hookname .= '-user'; |
| 1718 | } |
| 1719 | |
| 1720 | return $hookname; |
1712 | 1721 | } |
1713 | 1722 | |
1714 | 1723 | /** |