Changeset 36205
- Timestamp:
- 01/06/2016 10:39:23 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-plugins-list-table.php
r35808 r36205 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 $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_slug701 $plugin_slug = isset( $plugin_data['slug'] ) ? $plugin_data['slug'] : sanitize_title( $plugin_name ); 702 printf( '<tr class="%s" data-slug="%s" data-plugin="%s">', 703 esc_attr( $class ), 704 esc_attr( $plugin_slug ), 705 esc_attr( $plugin_file ) 707 706 ); 708 707
Note: See TracChangeset
for help on using the changeset viewer.