Fix bugs and simplify code around view titles
Updates #30848

Signed-off-by: jessica <jessica@exobi.com>
Change function name

Signed-off-by: jessica <jessica@exobi.com>
Only generate deprecated notice if the deprecated filter is in use
Updates #30848

Signed-off-by: jessica <jessica@exobi.com>
Merge remote-tracking branch 'origin/bugfix/30848-view-titles' into develop

Signed-off-by: jessica <jessica@exobi.com>

Conflicts:
	lib/template-classes/day.php