User tests: Successful: Unsuccessful:
Pull Request for Issue #44270.
PluginHelper::getPlugin()
currently returns either an (empty) array of objects or a single object. This is the first step towards cleaning that code up by splitting the code up into a method to retrieve a single plugin (getPlugin()
) and an array of plugins (getPlugins()
).
Codereview.
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_finder com_media com_users Front End com_contact com_content Libraries |
Labels |
Added:
PR-5.3-dev
|
When I see this code, then the plugin should either be booted or the PluginsModel should be used instead of introducing another static function with deprecated global static Factory calls.
This pull request does not solve the issue of:
Warning: Attempt to read property "params" on array in [ROOT]libraries/src/Component/Router/Rules/MenuRules.php
The sef plugin must be enabled, always.