Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#16551 closed defect (bug) (duplicate)

get_calendar() uses hardcoded element ID

Reported by: kawauso's profile kawauso Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Template Keywords:
Focuses: Cc:

Description

The ID of the table used by get_calendar() is hardcoded to 'wp-calendar', resulting in a conflict if more than one instance is present. The Calendar widget is a wrapper for this function.

Related: #16539

Change History (4)

#1 follow-up: @Denis-de-Bernardy
13 years ago

I'm failing to find the dup ticket, but there is one that got closed (by azaozz, if memory serves) based on the idea that changing it would break pretty much every theme that uses the calendar's ID as a selector, and there there only ought to be one calendar anyway.

#3 @kawauso
13 years ago

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

#4 @nacin
13 years ago

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