Opened 17 years ago
Closed 17 years ago
#12050 closed defect (bug) (fixed)
Link Manager Custom Column
| Reported by: | camiloclc | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Administration | Version: | 2.9.1 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
When adding custom columns to links, in wp-admin/link-manager.php line 242, the "td" attributes are not being echoed for these custom columns like it is in other row based pages (post, page, comment) on the switch statement, even though the variable is being populated.
The code in wp-admin/link-manager.php line 242 is:
<td><?php do_action('manage_link_custom_column', $column_name, $link->link_id); ?></td>
But it should be:
<td <?php echo $attributes ?>><?php do_action('manage_link_custom_column', $column_name, $link->link_id); ?></td>
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
For what it's worth, I checked all other *_custom_column actions and this was the only one missing the attributes. (Not counting actions in ms-sites.php and ms-users.php that don't have attributes at all.)