This PR makes several clean up to view tags of com_tags component:
Remove the code to check access level and unset tag item. It is not needed because that is processed model already (only tags with right access level returned)
Remove code to calculate $title from $this->item. item is not a property of the class, it always null, so these code will never run (seems this code is copied from somewhere)
Use setDocumentTitle method from HtmlView class to set page title instead of calculating the page title manually
Testing Instructions
Create a menu item to link to List All Tags menu item type of Tags component
Access to that menu item. Check (the displayed tags, browser page title), confirm that it is displayed the same before and after patch
I have tested this item✅ successfully on 394398a
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32310.