WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#9503 closed defect (bug) (duplicate)

Multi-calendar can result in multiple versions of the #wp-calendar ID

Reported by: Denis-de-Bernardy Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Template Keywords: has-patch tested
Focuses: Cc:

Attachments (1)

9503.diff (6.4 KB) - added by Denis-de-Bernardy 5 years ago.

Download all attachments as: .zip

Change History (6)

Denis-de-Bernardy5 years ago

comment:1 ryan5 years ago

I would have to update every theme on wordpress.com. I'm not that energetic. :-)

Maybe get_calendar() can track the number of times it is called and append the number to the id if > 1. Add the class too so themes can gradually transition to using that.

comment:2 ryan5 years ago

Hmmm, the cache makes that a pain.

comment:3 DD325 years ago

I would have to update every theme on wordpress.com. I'm not that energetic. :-)

Maybe get_calendar() can track the number of times it is called and append the number to the id if > 1.

Once again, the ID in the styling makes that a bit hard.. But what can you do.. if themes need updating..

comment:4 DD325 years ago

  • Milestone 2.8 deleted
  • Resolution set to duplicate
  • Status changed from new to closed
  • Version 2.8 deleted

See #9451

Denis, reporting it twice doesnt mean it'll get fixed twice as fast ;)

comment:5 DD325 years ago

Er, Only now i notice that it refers to different ID's.. Still I think it might be best to keep it to the single ticket.

(Er, I posted to the wrong ticket just then, And yes, that was sarcasm Denis :))

Note: See TracTickets for help on using tickets.