diff --git a/flipflop/library/common.php b/flipflop/library/common.php index f47f78f7449128685d28388d9f87b59995c27906..7b9349954e9227b28414c2e48666060d6d450ec0 100644 --- a/flipflop/library/common.php +++ b/flipflop/library/common.php @@ -226,8 +226,8 @@ function theme_link_pages($args = '') { } // remove gallery css -add_filter('gallery_style', create_function('$a', 'return " -<div class=\'gallery\'>";')); +add_filter('gallery_style', function($a) { return " +<div class='gallery'>";}); // Return page tree function theme_page_tree($this_page) { @@ -325,4 +325,4 @@ function theme_is_subpage() { else return false; } -?> \ No newline at end of file +?>