Opened 19 years ago
Closed 18 years ago
#6500 closed defect (bug) (duplicate)
Calendar widget is broken
| Reported by: | Denis-de-Bernardy | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 2.7 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
default theme, all plugins disabled. upon adding the calendar widget, I get:
%BEG_OF_TITLE% %END_OF_TITLE% Calendar Edit
... and nothing happens when I click Edit.
After saving the sidebar, the options are available, but it still looks odd.
Change History (7)
#2
@
19 years ago
My fixed (and modified) calendar widget, for reference, in case it helps to fix the underlying issue:
function widget_calendar($args)
{
extract($args);
echo $before_widget;
if ( !is_admin() )
{
echo '<div id="calendar_wrap">';
get_calendar();
echo '</div>';
}
echo $after_widget;
} # widget_calendar()
The get_calendar() function was causing the issue apparently.
Note:
See TracTickets
for help on using tickets.
Related: #6442