[wp-trac] [WordPress Trac] #20281: Comment type filter doesn't persist across views

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 22 08:51:13 UTC 2012


#20281: Comment type filter doesn't persist across views
--------------------------+-----------------------------
 Reporter:  duck_         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Comments      |    Version:  3.1
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 1. Visit edit-comments.php
  1. Filter to only show pings
  1. Switch to a different view (e.g. Approved)

 '''Expected (as seen on 3.0.x):''' pings only filter to stay in effect

 '''Actual:''' all comment types are displayed again

 Patch attached simply globalizes $comment_type in get_views().

 If this is no longer desired behaviour we can remove the dead code
 instead.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20281>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list