mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-23 16:01:37 +01:00
Add sanitized plugin name as id attribute to plugin rows. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3413426dab
commit
53abb90f30
@ -3597,8 +3597,11 @@ class WP_Plugins_Table extends WP_List_Table {
|
||||
$description = '<p>' . $plugin_data['Description'] . '</p>';
|
||||
$plugin_name = $plugin_data['Name'];
|
||||
}
|
||||
|
||||
$id = sanitize_title( $plugin_name );
|
||||
|
||||
echo "
|
||||
<tr class='$class'>
|
||||
<tr id='$id' class='$class'>
|
||||
<th scope='row' class='check-column'>$checkbox</th>
|
||||
<td class='plugin-title'><strong>$plugin_name</strong></td>
|
||||
<td class='desc'>$description</td>
|
||||
|
Loading…
Reference in New Issue
Block a user