Skip to content
Snippets Groups Projects
Commit 0f1d8a3d authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Christian Kuhn
Browse files

[TASK] Early return in case title tag should not be rendered

To avoid unnecessary initialization of page
title providers and calling any stdWrap, an
early return is added to `TSFE::generatePageTitle`
for the case that `noPageTitle` is set to "2",
as this means do not render the title tag at all.

Resolves: #102555
Releases: main, 12.4
Change-Id: Ia879218e84db865bce11bca8c61f33c7266884b5
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82037


Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
parent 8327414c
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment