Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#13077 closed defect (bug) (fixed)

get_calendar can output two calendars

Reported by: mtdewvirus Owned by: ryan
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: General Keywords:
Focuses: Cc:


If $echo is true and the calendar is cached it will be output twice. Function needs to return after echo from cache.

Patched against r14181.

Attachments (1)

13077.diff (454 bytes) - added by mtdewvirus 6 years ago.

Download all attachments as: .zip

Change History (2)

6 years ago

#1 @ryan
6 years ago

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

(In [14183]) Return after echoing cached calendar. Fixes double output. Props mtdewvirus. fixes #13077

Note: See TracTickets for help on using tickets.