Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#8272 closed defect (bug) (fixed)

2.7-Link categories table appearance issue

Reported by: kpdesign's profile kpdesign Owned by:
Milestone: 2.7 Priority: normal
Severity: normal Version: 2.7
Component: Administration Keywords: link categories table
Focuses: Cc:

Description

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.

Attachments (1)

wp2.7-link-cat-table-appearance.png (13.1 KB) - added by kpdesign 17 years ago.

Download all attachments as: .zip

Change History (2)

#1 @ryan
17 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [9758]) Fix link categories row alternation. fixes #8272

Note: See TracTickets for help on using tickets.