Make WordPress Core

Ticket #51256: 51256.3.diff

File 51256.3.diff, 806 bytes (added by Hareesh Pillai, 3 years ago)
  • src/wp-admin/includes/class-wp-plugins-list-table.php

     
    949949                $requires_php   = isset( $plugin_data['requires_php'] ) ? $plugin_data['requires_php'] : null;
    950950                $compatible_php = is_php_version_compatible( $requires_php );
    951951                $class          = $is_active ? 'active' : 'inactive';
    952                 $checkbox_id    = 'checkbox_' . md5( $plugin_data['Name'] );
     952                $checkbox_id    = 'checkbox_' . md5( $plugin_id_attr );
    953953
    954954                if ( $restrict_network_active || $restrict_network_only || in_array( $status, array( 'mustuse', 'dropins' ), true ) || ! $compatible_php ) {
    955955                        $checkbox = '';