Make WordPress Core


Ignore:
Timestamp:
12/24/2010 02:19:41 PM (16 years ago)
Author:
nacin
Message:

Validation fixes. props ocean90, fixes #15287.

File:
1 edited

Legend:

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

    r17102 r17129  
    385385
    386386                $class = $is_active ? 'active' : 'inactive';
    387                 $checkbox_id = md5($plugin_data['Name']) . "_checkbox";
     387                $checkbox_id =  "checkbox_" . md5($plugin_data['Name']);
    388388                $checkbox = in_array( $status, array( 'mustuse', 'dropins' ) ) ? '' : "<input type='checkbox' name='checked[]' value='" . esc_attr( $plugin_file ) . "' id='" . $checkbox_id . "' /><label class='screen-reader-text' for='" . $checkbox_id . "' >" . __('Select') . " " . $plugin_data['Name'] . "</label>";
    389389                if ( 'dropins' != $context ) {
Note: See TracChangeset for help on using the changeset viewer.