Translations:Potential backward compatibility issues in Joomla 4/206/en
From Joomla! Documentation
CMSApplication::isSite and CMSApplication::isAdmin have been removed as with the addition of the ConsoleApplication and ApiApplication can give misleading results. Please use CMSApplication::isClient (available from ). For more information please see Discover on which client your extension code is running.