get_calendar can output a calendar when there are no posts
|Reported by:||mtdewvirus||Owned by:|
If a site doesn't have any posts, get_calendar isn't supposed to display a calendar. You can visit a page or have a static home page, and a calendar is displayed. The get_calendar function is looking at global $posts to determine if the site has posts but this variable can contain data from other post_types.
Change History (7)
- Cc bmbalex@… added
- Owner set to bumbu
- Status changed from new to reviewing