#13886 closed defect (bug) (invalid)
Reply from comments panel breaks grid layout
Reported by: | GDragoN | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0 |
Component: | Administration | Keywords: | |
Focuses: | 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)
#2
@
14 years ago
- 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?
#3
@
14 years ago
It seams that there are different filters executed on this grid when displayed first and later for ajax call. I will recheck my plugin.
#4
@
14 years ago
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.
Can you give us the plugin/code which adds a custom columns, please?