Update functions.php

This commit is contained in:
danpros 2023-12-31 09:17:24 +07:00
commit ad7464cf22

View file

@ -444,7 +444,7 @@ function get_posts($posts, $page = 1, $perpage = 0)
function get_pages($pages, $page = 1, $perpage = 0) function get_pages($pages, $page = 1, $perpage = 0)
{ {
if (empty($pages)) { if (empty($pages)) {
$pages = get_static_page(); $pages = get_static_pages();
} }
$tmp = array(); $tmp = array();