Make WordPress Core


Ignore:
Timestamp:
09/05/2020 12:31:03 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Comments: Rename WP_Comments_List_Table::comment_status_dropdown() to ::comment_type_dropdown().

This better reflects the purpose of the method, which doesn't have anything to do with a comment status.

Follow-up to [48521].

Props davidbaumwald, johnbillion, SergeyBiryukov.
Fixes #51248.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/admin/includesListTable.php

    r48521 r48943  
    320320     * @ticket 40188
    321321     */
    322     public function test_filter_comment_status_dropdown_should_be_shown_if_there_are_comments() {
     322    public function test_filter_comment_type_dropdown_should_be_shown_if_there_are_comments() {
    323323        $post_id    = self::factory()->post->create();
    324324        $comment_id = self::factory()->comment->create(
Note: See TracChangeset for help on using the changeset viewer.