WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#17933 closed enhancement (duplicate)

Missing counters for comment status + consistent order

Reported by: CoenJacobs Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.2
Component: UI Keywords: has-patch ui-feedback dev-feedback
Focuses: Cc:

Description

In wp-admin/edit-comments.php, the 'All' and 'Approved' status links aren't provided with a total number. This seems to be inconsistent compared to the wp-admin/edit.php screen, where all post status links have a total number next to them.

Next to that, the order seems to be inconsistent. In wp-admin/edit.php the 'Pending' status link is positioned after the 'Published' status link, while for the comments the 'Pending' status link is shown before the 'Approved' status link.

Added four .diff files, changing the looks step by step. Not quite sure about how to add the number next to the 'All' status link. Although this seems to work, it isn't the nicest solution, I guess.

Attachments (4)

approved_counter.diff (1.1 KB) - added by CoenJacobs 3 years ago.
Added counter to the 'Approved' status link
approved_first.diff (1.2 KB) - added by CoenJacobs 3 years ago.
Moved 'Approved' status link to the left of 'Pending' status link + Counter for 'Approved' status link
all_counter.diff (1.8 KB) - added by CoenJacobs 3 years ago.
Added counter to the 'All' and 'Approved' status link (FIXED VERSION)
all_counter_approved_first.diff (1.8 KB) - added by CoenJacobs 3 years ago.
Added counter to the 'All' and 'Approved' status link + Moved 'Approved' to the left of 'Pending' (FIXED VERSION)

Download all attachments as: .zip

Change History (6)

CoenJacobs3 years ago

Added counter to the 'Approved' status link

CoenJacobs3 years ago

Moved 'Approved' status link to the left of 'Pending' status link + Counter for 'Approved' status link

CoenJacobs3 years ago

Added counter to the 'All' and 'Approved' status link (FIXED VERSION)

CoenJacobs3 years ago

Added counter to the 'All' and 'Approved' status link + Moved 'Approved' to the left of 'Pending' (FIXED VERSION)

comment:1 ocean903 years ago

Duplicate: #11200

comment:2 scribu3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.