yusi模板PHP7.0修改

header.php

header.php 第43行

<?php echo str_replace(“</ul></div>”, “”, ereg_replace(“<div[^>]*><ul[^>]*>”, “”, wp_nav_menu(array(‘theme_location’ => ‘nav’, ‘echo’ => false)) )); ?>
改为
<?php echo str_replace(“</ul></div>”, “”, preg_replace(“{<div[^>]*><ul[^>]*>}”, “”, wp_nav_menu(array(‘theme_location’ => ‘nav’, ‘echo’ => false)) )); ?>

comments.php

comments.php 第17行

date_default_timezone_set(PRC);
改为
date_default_timezone_set("PRC");