A small code clean up to Form view of com_contact component. The parent class has method setDocumentTitlehttps://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/src/MVC/View/HtmlView.php#L607 to calculate and set page title base on Site Name in Page Titles setting in Global Configuration already, so we do not have to write the same code again in the child class.
Testing Instructions
Code review should be enough
Or :
Create a menu item to link to Search menu item type of Smart Search component
Go to frontend of the site using, access to that menu item and make sure browser page title is the same with before.
Go to System -> Global Configuration, navigate to Site tab, try to change the value of Site Name in Page Titles config option (see attached screenshot), then access to the menu item above again, confirm that browser page title is changed according to the value of that config option.
I have tested this item✅ successfully on acb06ac
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34090.