diff --git a/index.php b/index.php index e5a55e0..bc88bf5 100644 --- a/index.php +++ b/index.php @@ -7,7 +7,7 @@ */ session_start(); -define('VERSION', '3.3.0'); +define('VERSION', '3.3.1'); mb_internal_encoding('UTF-8'); if (defined('PHPUNIT_TESTING') === false) { @@ -1795,7 +1795,7 @@ private function checkWcmsCoreUpdate(): void $this->alert( 'info', '

New WonderCMS update available

- Check what\'s new + Check what\'s new and backup your website before updating.
@@ -2366,7 +2366,7 @@ private function renderPageNavMenuItem(object $item, string $parentSlug = ''): s $visibleSubpage = $subpages && in_array('show', array_column((array)$subpages, 'visibility')); } - $parentSlug .= $item->slug . '/'; + $parentSlug .= $subpages ? $item->slug . '/' : $item->slug; $output = '