Opened 3 years ago
Closed 3 years ago
#51248 closed defect (bug) (fixed)
Rename WP_Comments_List_Table::comment_status_dropdown() to ::comment_type_dropdown()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Comments | Keywords: | has-patch |
Focuses: | administration | Cc: |
Description (last modified by )
[48521] introduced a method for displaying a comment type drop-down for filtering on the Comments list table.
For some reason, the method is called ::comment_status_dropdown()
, despite not having anything to do with a comment status. This can be confusing now and problematic when working on tickets like #20977 in the future.
I propose renaming the method to ::comment_type_dropdown()
for clarity. It's marked as protected, so there should not be any backward compatibility concerns.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
In 48943: