[wp-trac] [WordPress Trac] #50736: `manage_comments_nav` hook miss parameter

WordPress Trac noreply at wordpress.org
Wed Jul 22 16:57:32 UTC 2020


#50736: `manage_comments_nav` hook miss parameter
----------------------------+-----------------------------
 Reporter:  Tkama           |      Owner:  (none)
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  5.4.2
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 It would be great if `manage_comments_nav` hook pass `$which` as the
 second parameter.

 {{{#!php
 do_action( 'manage_comments_nav', $comment_status, $which );
 }}}

 See:
 https://developer.wordpress.org/reference/classes/wp_comments_list_table/extra_tablenav/

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50736>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list