Make WordPress Core


Ignore:
Timestamp:
11/17/2020 04:46:30 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Plugins: Make sure the HTML ID attributes for plugin checkboxes are unique.

Follow-up to [48374].

Props helen, sabernhardt, kishanjasani, mukesh27, hareesh-pillai.
Fixes #51256.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/update-core.php

    r49593 r49631  
    546546        );
    547547
    548         $checkbox_id = 'checkbox_' . md5( $plugin_data->Name );
     548        $checkbox_id = 'checkbox_' . md5( $plugin_file );
    549549        ?>
    550550    <tr>
Note: See TracChangeset for help on using the changeset viewer.