[Plugin: WP Calendar] FSE_GROUPBY_NONE ignored by fse_print_events_list
-
Plugin version 1.5.0
In Settings: Global Settings, Group by does not have a choice for ‘none’. (fsCalendarSettings.php line 425 select fse_groupby missing option for ‘None’ with value of “”). Added this option to get it to work globally:
<option value=""<?php echo (get_option('fse_groupby') == '' ? ' selected="selected"' : ''); ?>><?php _e('None', fsCalendar::$plugin_textdom); ?></option>
Also, when using fse_print_events_list(), setting ‘groupby=>FSE_GROUPBY_NONE’ in the $args array is ignored. In fsCalendar.php line 1163
case 'groupby': if (in_array($a, array('d','m','y')))
is missing an empty array member. If I change the array to:array('','d','m','y')
, FSE_GROUPBY_NONE works as expected.Can you fix in the next update?
- The topic ‘[Plugin: WP Calendar] FSE_GROUPBY_NONE ignored by fse_print_events_list’ is closed to new replies.