joomla-cms
joomla-cms copied to clipboard
[6.0] The admin model does return a stdClass instead of CMSObject
Summary of Changes
Followup of https://github.com/joomla/joomla-cms/pull/42717, to return a \stdClass instead of CMSObject in the Adminmodel getItem function. Developers should work directly on the properties on the returned item and not call the deprecated set or get function.
Testing Instructions
- Install 3rd party content plugins
- Create an article
- Open the article on the front end
Actual result BEFORE applying this Pull Request
All works.
Expected result AFTER applying this Pull Request
All works.
Link to documentations
Please select:
-
[x] Documentation link for docs.joomla.org:
-
[ ] No documentation changes for docs.joomla.org needed
-
[x] Pull Request link for manual.joomla.org: https://github.com/joomla/Manual/pull/237
-
[ ] No documentation changes for manual.joomla.org needed