Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#16551 closed defect (bug) (duplicate)

get_calendar() uses hardcoded element ID

Reported by: kawauso Owned by:
Priority: normal Milestone:
Component: Template Version: 3.0
Severity: normal Keywords:
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)

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.

comment:2 in reply to: ↑ 1   solarissmoke2 years ago

  • Resolution set to duplicate
  • Status changed from new to closed
  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.