Make WordPress Core

Changeset 60723


Ignore:
Timestamp:
09/08/2025 08:56:58 PM (3 months ago)
Author:
davidbaumwald
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-plugins-list-table.php

    r58975 r60723  
    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.' ) .
Note: See TracChangeset for help on using the changeset viewer.