#13886 closed defect (bug) (invalid)
Reply from comments panel breaks grid layout
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 3.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
If any plugin adds columns to a comments grid (edit-comments.php), if you reply directly from that panel, comment is saved, but AJAX returns response that is rendered to ignore added columns. This causes the response cells to be displayed in invalid positions.
AJAX response for reply needs also to pass through columns filter for edit-comments. Other panels that use similar method work fine (edit.php for instance).
Attachments (1)
Change History (7)
- Keywords reporter-feedback added
- Milestone changed from 3.0 to Unassigned
I tried it with this plugin and it works for me, Which browser do you use?
It seams that there are different filters executed on this grid when displayed first and later for ajax call. I will recheck my plugin.
To display the comment row admin-ajax.php uses _wp_comment_row(). To get the columns it uses get_column_headers() and there is the filter manage_' . $screen->id . '_columns.
- Resolution set to invalid
- Status changed from new to closed
OK, this can be closed. My code had something that filtered out admin-ajax based request.

Can you give us the plugin/code which adds a custom columns, please?