Version 5.0.0 beta 6

This commit is contained in:
Neo committed 2025-12-19 17:12:27 -08:00
1 parent 57d9db6ce2
commit fa2a720105
115 files changed
+1823 -1147

No files matched your search

+12 -2
View File
@@ -220,7 +220,12 @@ class Menu
*/
public function linkHtml(): string
{
return Theme::i()->getTemplate( 'menu', 'core', 'front' )->link( $this );
if( $this->hasContent() )
{
return Theme::i()->getTemplate( 'menu', 'core', 'front' )->link( $this );
}
return '';
}
/**
@@ -230,7 +235,12 @@ class Menu
*/
public function contentHtml(): string
{
return Theme::i()->getTemplate( 'menu', 'core', 'front' )->content( $this );
if( $this->hasContent() )
{
return Theme::i()->getTemplate( 'menu', 'core', 'front' )->content( $this );
}
return '';
}
/**