Skip to content
GitLab
Explore
Sign in
Commits on Source (1)
Fix create_function() deprecation
· 01e6c8dc
ale
authored
Aug 27, 2023
01e6c8dc
Hide whitespace changes
Inline
Side-by-side
flipflop/library/common.php
View file @
01e6c8dc
...
...
@@ -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
?>