joomla-cms icon indicating copy to clipboard operation
joomla-cms copied to clipboard

Undeprecate JLoader::register()

Open Hackwar opened this issue 6 months ago • 0 comments

Summary of Changes

The method JLoader::register() was deprecated 7 years ago in #21781. 7 years later, we are still using this in core, even if in most cases it is just to keep legacy extensions running. While ideally everything should be autoloaded, there are several situations where this method is usefull. I don't think we should remove this in 6.0 and I also think that we should keep this indefinitely for now. That is why I'm reverting the deprecation here in this PR.

Testing Instructions

Codereview and decision by the CMS maintenance team.

Link to documentations

Please select:

  • [ ] Documentation link for docs.joomla.org:

  • [X] No documentation changes for docs.joomla.org needed

  • [ ] Pull Request link for manual.joomla.org:

  • [X] No documentation changes for manual.joomla.org needed

Hackwar avatar Jun 17 '25 18:06 Hackwar