Make WordPress Core

Ticket #51248: 51248.diff

File 51248.diff, 1.1 KB (added by davidbaumwald, 6 years ago)
  • src/wp-admin/includes/class-wp-comments-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-comments-list-table.php b/src/wp-admin/includes/class-wp-comments-list-table.php
    index 872d101cb0..bae551f08e 100644
    a b class WP_Comments_List_Table extends WP_List_Table { 
    396396                if ( 'top' === $which ) {
    397397                        ob_start();
    398398
    399                         $this->comment_status_dropdown( $comment_type );
     399                        $this->comment_type_dropdown( $comment_type );
    400400
    401401                        /**
    402402                         * Fires just before the Filter submit button for comment types.
    class WP_Comments_List_Table extends WP_List_Table { 
    475475         * Displays a comment type drop-down for filtering on the Comments list table.
    476476         *
    477477         * @since 5.5.0
     478         * @since 5.6.0 Renamed from `comment_status_dropdown()` to `comment_type_dropdown()`.
    478479         *
    479480         * @param string $comment_type The current comment type slug.
    480481         */
    481         protected function comment_status_dropdown( $comment_type ) {
     482        protected function comment_type_dropdown( $comment_type ) {
    482483                /**
    483484                 * Filters the comment types shown in the drop-down menu on the Comments list table.
    484485                 *