Make WordPress Core


Ignore:
Timestamp:
10/24/2010 03:46:33 PM (14 years ago)
Author:
scribu
Message:

Add sanitized plugin name as id attribute to plugin rows. See #14579

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/default-list-tables.php

    r15927 r15944  
    35983598                $plugin_name = $plugin_data['Name'];
    35993599            }
     3600
     3601            $id = sanitize_title( $plugin_name );
     3602
    36003603            echo "
    3601         <tr class='$class'>
     3604        <tr id='$id' class='$class'>
    36023605            <th scope='row' class='check-column'>$checkbox</th>
    36033606            <td class='plugin-title'><strong>$plugin_name</strong></td>
Note: See TracChangeset for help on using the changeset viewer.