Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions migrations/50-51/new-deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,3 +175,9 @@ The function `BannerHelper::isImage($url)` has been replaced with a combination
`Joomla\CMS\Helper\MediaHelper::isImage($url)` for pixel-based image files and
`Joomla\CMS\Helper\MediaHelper::getMimeType($url) === 'image/svg+xml'` for vector based image files
after being sanitized with the helper function `Joomla\CMS\HTML\HTMLHelper::cleanImageURL($imageurl)`

### getItem function returns \stdClass in AdminModel

PR: https://github.com/joomla/joomla-cms/pull/42717
File: libraries/src/MVC/Model/AdminModel.php
Description: The `getItem()` function in the `AdminModel` has now the return type of `\stdClass`. Internally is still the `CMSObject` returned which inherits from `\stdClass`.