Make WordPress Core

Changes between Version 2 and Version 4 of Ticket #51248


Ignore:
Timestamp:
09/05/2020 12:29:56 AM (6 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51248

    • Property Keywords has-patch added
  • Ticket #51248 – Description

    v2 v4  
    33[48521] introduced a method for displaying a comment type drop-down for filtering on the Comments list table.
    44
    5 For some reason, the method is called `::comment_status_dropdown()`, despite not having to do anything with a comment status. This can be confusing now and problematic when working on tickets like #20977 in the future.
     5For 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.
    66
    77I propose renaming the method to `::comment_type_dropdown()` for clarity. It's marked as protected, so there should not be any backward compatibility concerns.