User tests: Successful: Unsuccessful:
Pull Request for Issue # .
The constant JPATH_COMPONENT_ADMINISTRATOR was deprecated long time ago because the path is coupled with the active component, thus prevent code re-usable.
This PR removes the usage of the constant in all components for site and admin apps. Basically, it will be replaced with JPATH_ADMINISTRATOR . '/components/com_componentname' where com_componentname is the name of component the code belong to
The change is made for different components, so we need to do code review for every single change and make sure it is correct.
Works
Works, without used a deprecated constant and make code re-usable.
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_joomlaupdate com_media Front End com_contact com_content com_contenthistory com_fields com_modules |
I have tested this item ✅ successfully on 7a33acf
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
PR-5.3-dev
|
RTC
Labels |
Added:
RTC
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-03-08 18:26:59 |
Closed_By | ⇒ | rdeutz |
Thanks
I have tested this item ✅ successfully on 7a33acf
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45049.