Ticket #18974: 35083-18974.patch
File 35083-18974.patch, 834 bytes (added by , 9 years ago) |
---|
-
class-wp-plugins-list-table.php
695 695 $plugin_name = $plugin_data['Name']; 696 696 } 697 697 698 $id = sanitize_title( $plugin_name );699 698 if ( ! empty( $totals['upgrade'] ) && ! empty( $plugin_data['update'] ) ) 700 699 $class .= ' update'; 701 700 702 701 $plugin_slug = ( isset( $plugin_data['slug'] ) ) ? $plugin_data['slug'] : ''; 703 printf( "<tr id='%s' class='%s' data-slug='%s'>",704 $id,705 $class,706 $plugin_slug702 printf( "<tr class='%s' data-plugin='%s' data-slug='%s'>", 703 esc_attr( $class ), 704 esc_attr( $plugin_file ), 705 esc_attr( $plugin_slug ) 707 706 ); 708 707 709 708 list( $columns, $hidden, $sortable, $primary ) = $this->get_column_info();