Opened 11 years ago
Closed 11 years ago
#24951 closed defect (bug) (fixed)
Quick edit always adds class "alternate"
Reported by: | iseulde | Owned by: | helen |
---|---|---|---|
Milestone: | 3.7 | Priority: | normal |
Severity: | trivial | Version: | 3.6 |
Component: | Quick/Bulk Edit | Keywords: | needs-patch |
Focuses: | ui | Cc: |
Description
Quick editing adds the "alternate" class to the table row, even if it didn't have that class before. This only happens after updating, not after cancelling. Causes grey table rows to turn white in the current style and white rows to turn grey in mp6.
Related forum topic: http://wordpress.org/support/topic/quick-edit-4
Attachments (1)
Change History (11)
#5
@
11 years ago
Looks like the single_row()
method in class-wp-posts-list-table.php
defaults to alternate
anytime there is only one item. Since the save request only gets one row, it will always have alternate
.
#6
follow-ups:
↓ 7
↓ 8
@
11 years ago
- Cc pippin@… added
Not sure this is the best way to do it, but it does fix the issue.
Note: See
TracTickets for help on using
tickets.
Confirmed.