WordPress.org

Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#5971 closed defect (bug) (worksforme)

more than one blogroll categories result in invalid XHTML code generated

Reported by: lazyone Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.3.3
Component: General Keywords:
Focuses: Cc:

Description

If one has more than one blogroll categories, i.e. there will be at least two separate link lists in the sidebar (each having its own headline), all these lists will get the same id. For example:

		<li id="links" class="widget widget_links"><h2 class="widgettitle">First Link Category</h2>

and

                <li id="links" class="widget widget_links"><h2 class="widgettitle">Second Link Category</h2>

This will make the generated XHTML code invalid, as every id (here: `links') has to be defined at most once.

I had this both under 2.2.3 and 2.3.3, and it is really annoying.

Change History (2)

#1 @hansengel
12 years ago

  • Milestone changed from 2.6 to 2.5
  • Resolution set to worksforme
  • Status changed from new to closed
  • Version set to 2.3.3

This is no longer a problem with the latest trunk—each list is given a unique ID of 'linkcat-*', with * being its ID in your WordPress database.

#2 @hansengel
12 years ago

  • Milestone 2.5 deleted
Note: See TracTickets for help on using tickets.