Skip to content

Commit 33f476e

Browse files
committed
Plugins: Correct deactivate row action text when network active.
Specifically, this change when a network activated plugin has plugin dependencies, the disabled deactivate row action link text is changed from "Deactivate" to "Network Deactivate". Follow-up to [57545]. Props pbiron, nikunj8866, shailu25, jjj. Fixes #63942. git-svn-id: https://develop.svn.wordpress.org/trunk@60723 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 7badd6d commit 33f476e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-admin/includes/class-wp-plugins-list-table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ public function single_row( $item ) {
807807
if ( $is_active ) {
808808
if ( current_user_can( 'manage_network_plugins' ) ) {
809809
if ( $has_active_dependents ) {
810-
$actions['deactivate'] = __( 'Deactivate' ) .
810+
$actions['deactivate'] = __( 'Network Deactivate' ) .
811811
'<span class="screen-reader-text">' .
812812
__( 'You cannot deactivate this plugin as other plugins require it.' ) .
813813
'</span>';

0 commit comments

Comments
 (0)