Can't add custom columns to the plugins admin page
|Reported by:||scribu||Owned by:|
The Plugins list table is different from all the rest, in the sense that it uses more than one row per item (simplified):
<tr> <td>Plugin Name</td> <td>Description</td> </tr> <tr class="second"> <td>Activate | Delete</td> <td>Version 1.0 | By: someone</td> </tr> <tr class="plugin-update-tr"> <td class="plugin-update" colspan="3">There's an update available</td> </tr>
I assume this approach was chosen to make the action links stay at the bottom, when the description is larger.
- plugins can't add custom columns
- columns can't be hidden
Supposing these two problems were fixed, we'd still have to have a weird workaround for the colspan attribute in the update notification row.
I suggest we switch to a single row per item and use CSS to position the elements.
Change History (29)
- Keywords needs-patch added
- Milestone changed from Awaiting Review to 3.1
- Version set to 3.1