My site's running on PHP 5.2, instead of 5.3. I found that there was only 5.3-only function in this module, so I changed it for my own benefit.
I know that not many sites use this, but it might be worth rewriting a few lines to remove the version restriction.
Changing
function rotating_slogan_preprocess_page(&$variables) {
$list = array_filter(explode("\n", variable_get('rotating_slogan_list', '')), function ($item) {
return (trim($item) != '');
});to
function rotating_slogan_preprocess_page(&$variables) {
$list = explode("\n", variable_get('rotating_slogan_list', ''));
}prevents the module from ignoring empty lines, but improves compatibility.
It isn't anything too important, but would be a nice feature.
Thanks!
Comments
Comment #1
epieddy commentedSorry for no responding sooner.
Fixed in 7.x-1.1