[wp-trac] [WordPress Trac] #8272: 2.7-Link categories table appearance issue

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 18 12:31:40 GMT 2008


#8272: 2.7-Link categories table appearance issue
----------------------------+-----------------------------------------------
 Reporter:  kpdesign        |       Owner:  anonymous            
     Type:  defect          |      Status:  new                  
 Priority:  normal          |   Milestone:  2.7                  
Component:  Administration  |     Version:  2.7                  
 Severity:  normal          |    Keywords:  link categories table
----------------------------+-----------------------------------------------
 The appearance of the Link Categories table is inconsistent with the
 appearance of the Categories table - the rows are not alternating color
 (see screenshot).

 I checked the generated source code for each table. The Categories table
 code is generated as follows (portions removed for brevity):

 {{{<tbody id="the-list" class="list:cat">
         <tr id="cat-1" class="iedit alternate"><th scope="row" class
 ="check-column">&nbsp;</th><td class="name column-name">.....</td>

 </tr>   <tr id="cat-5" class="iedit"><th scope="row" class="check-
 column"><input name="delete[]" value="5" type="checkbox"></th><td
 class="name column-name">...</td><td class="posts column-posts num">0</td>

 </tr></tbody>}}}

 The Link Categories table code is generated as follows (portions removed
 for brevity):

 {{{<tbody id="the-list" class="list:link-cat">

 <tr id="link-cat-4" class="iedit alternate"><th scope="row" class="check-
 column"><input name="delete[]" value="4" type="checkbox"></th><td
 class="name column-name">...</td></tr>
 <tr id="link-cat-2" class="iedit alternate"><th scope="row" class="check-
 column">&nbsp;</th><td class="name column-name">...</td></tr></tbody>}}}

 Notice that the Categories table has the class '''iedit alternate''' for
 the first row, then the class '''iedit''' for the second row.

 The Link Categories table has the class '''iedit alternate''' for both
 rows - the code to alternate the row colors isn't working properly.

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


More information about the wp-trac mailing list