User tests: Successful: Unsuccessful:
Pull Request for Issue #45996 and #45946.
Adds a magic getter from the framework package to the WebApplication class. Like that will the deprecation appear in IDE's better.
Put the following code in any default.php:
Factory::getApplication()->input;
Cannot access protected property Joomla\CMS\Application\AdministratorApplication::$input
Page loads.
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org: joomla/Manual#508
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | Libraries |
| Title |
|
||||||
| Status | Pending | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-08-28 09:40:52 |
| Closed_By | ⇒ | softforge | |
| Labels |
Added:
bug
PR-6.0-dev
|
||
I thought one of the aims was to remove magic?
It is, but not breaking extension, templates and overrides weights higher.
could it not have been done in the b/c plugin?
Nope, as it is only a function which must be in the class itself.
Thank you for your quick work on this @richard67 and @laoneo