WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 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:

Description

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 5 years ago.

Download all attachments as: .zip

Change History (2)

@mtdewvirus5 years ago

comment:1 @ryan5 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.