Skip to content

Commit b44f2d8

Browse files
committed
Improve conditional to fix "rollback" link display for plugin listing screen on single site installs
1 parent 5c613b4 commit b44f2d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wp-rollback.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ private function setup_plugin_vars() {
472472
*/
473473
public function plugin_action_links( $actions, $plugin_file, $plugin_data, $context ): array {
474474

475-
if ( !is_network_admin()) {
475+
if ( is_multisite() && !is_network_admin()) {
476476
return $actions;
477477
}
478478

0 commit comments

Comments
 (0)