Make WordPress Core

Ticket #50736: manage-comments-nav.2.diff

File manage-comments-nav.2.diff, 816 bytes (added by wpgurudev, 5 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 c7ffb4d9f2..2cd1a86499 100644
    a b class WP_Comments_List_Table extends WP_List_Table { 
    415415                /**
    416416                 * Fires after the Filter submit button for comment types.
    417417                 *
     418                 * @param string $comment_status The comment status name. Default 'All'.
     419                 * @param string $which Position of the menu.
     420                 *
    418421                 * @since 2.5.0
    419422                 *
    420                  * @param string $comment_status The comment status name. Default 'All'.
    421423                 */
    422                 do_action( 'manage_comments_nav', $comment_status );
     424                do_action( 'manage_comments_nav', $comment_status, $which );
    423425                echo '</div>';
    424426        }
    425427