Opened 11 months ago
Closed 11 months ago
#20913 closed defect (bug) (invalid)
Ability to add custom column to list pages (plugins,users,links,comments,terms,ms)
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Multisite | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
Currently the ms-themes page has a hook to add in custom column content, however it does not have a hook to add in a custom column heading.
I am requesting that the attached patch (or something similar) be implemented to permit plugins to add columns to the themes table.
Attachments (2)
Change History (8)
- Summary changed from enhancement: Ability to add custom column to manage themes page to Ability to add custom column to list pages (plugins,users,links,comments,terms,ms)
- Type changed from enhancement to defect (bug)
comment:4
SergeyBiryukov — 11 months ago
There's manage_{$screen->id}_columns filter which should work in all those cases:
http://core.trac.wordpress.org/browser/tags/3.3.2/wp-admin/includes/class-wp-list-table.php#L89
For Network Admin > Themes screen, it would be manage_themes-network_columns.
Ah, yeah - that does work. I missed that last night because the inconsistency of how the other pages are done confused me.
comment:6
SergeyBiryukov — 11 months ago
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed

After further digging, this also appears to be a problem in:
wp-admin/includes/class-wp-plugins-list-table.php
wp-admin/includes/class-wp-users-list-table.php
wp-admin/includes/class-wp-links-list-table.php
wp-admin/includes/class-wp-comments-list-table.php
wp-admin/includes/class-wp-terms-list-table.php
wp-admin/includes/class-wp-ms-themes-list-table.php
Only have of the necessary hook/filter is there to do the job - because of this I'm changing the filling back to bug.