Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
17 Jun 2025

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:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar Hackwar Hackwar - open - 17 Jun 2025
avatar Hackwar Hackwar - change - 17 Jun 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 Jun 2025
Category Libraries
avatar Bodge-IT Bodge-IT - change - 17 Jun 2025
Title
Undeprecate JLoder::register()
Undeprecate JLoader::register()
avatar Bodge-IT Bodge-IT - edited - 17 Jun 2025

Add a Comment

Login with GitHub to post a comment