Ticket #51256: 51256.includes-update-core.diff
File 51256.includes-update-core.diff, 1.3 KB (added by , 4 years ago) |
---|
-
src/wp-admin/includes/class-wp-plugins-list-table.php
948 948 $requires_php = isset( $plugin_data['requires_php'] ) ? $plugin_data['requires_php'] : null; 949 949 $compatible_php = is_php_version_compatible( $requires_php ); 950 950 $class = $is_active ? 'active' : 'inactive'; 951 $checkbox_id = 'checkbox_' . md5( $plugin_ data['Name']);951 $checkbox_id = 'checkbox_' . md5( $plugin_id_attr ); 952 952 953 953 if ( $restrict_network_active || $restrict_network_only || in_array( $status, array( 'mustuse', 'dropins' ), true ) || ! $compatible_php ) { 954 954 $checkbox = ''; -
src/wp-admin/update-core.php
545 545 sprintf( __( 'View version %s details.' ), $plugin_data->update->new_version ) 546 546 ); 547 547 548 $checkbox_id = 'checkbox_' . md5( $plugin_ data->Name );548 $checkbox_id = 'checkbox_' . md5( $plugin_file ); 549 549 ?> 550 550 <tr> 551 551 <td class="check-column">