[wp-trac] [WordPress Trac] #21572: Unnecessary function argument for display_rows

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 14 05:14:25 UTC 2012


#21572: Unnecessary function argument for display_rows
--------------------------+------------------
 Reporter:  cojennin      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5
Component:  General       |     Version:
 Severity:  trivial       |  Resolution:
 Keywords:                |
--------------------------+------------------
Changes (by nacin):

 * milestone:  Awaiting Review => 3.5


Comment:

 The $level = 0 parameter is also useless, yes? We add an argument to a
 method we override but never use it. This is likely confusion stemming
 from _display_rows().

 Patch looks good otherwise. If uploaded with a diff or patch extension, it
 will be color-coded here on Trac.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21572#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list