- Timestamp:
- 06/10/2023 05:28:02 AM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-plugins-list-table.php
r55732 r55903 62 62 $this->show_autoupdates = wp_is_auto_update_enabled_for_type( 'plugin' ) 63 63 && current_user_can( 'update_plugins' ) 64 && ( ! is_multisite() || $this->screen->in_admin( 'network' ) ) 65 && ! in_array( $status, array( 'mustuse', 'dropins' ), true ); 64 && ( ! is_multisite() || $this->screen->in_admin( 'network' ) ); 66 65 } 67 66 … … 464 463 ); 465 464 466 if ( $this->show_autoupdates ) {465 if ( $this->show_autoupdates && ! in_array( $status, array( 'mustuse', 'dropins' ), true ) ) { 467 466 $columns['auto-updates'] = __( 'Automatic Updates' ); 468 467 } … … 1155 1154 break; 1156 1155 case 'auto-updates': 1157 if ( ! $this->show_autoupdates ) {1156 if ( ! $this->show_autoupdates || in_array( $status, array( 'mustuse', 'dropins' ), true ) ) { 1158 1157 break; 1159 1158 }
Note: See TracChangeset
for help on using the changeset viewer.