Skip to main content

New deprecations

All the new deprecations that should be aware of and what you should now be using instead.

Language strings

Strings will be removed in 6.0:

File: administrator/language/en-GB/com_content.ini

  • COM_CONTENT_RUN_TRANSITION, use JWORKFLOW_RUN_TRANSITION instead
  • COM_CONTENT_WORKFLOW_STAGE, use JWORKFLOW_STAGE instead

File: administrator/language/en-GB/com_fields.ini

  • COM_FIELDS_FIELD_FORM_LAYOUT_LABEL, use JLIB_FORM_FIELD_PARAM_LAYOUT_LABEL instead

File: administrator/language/en-GB/plg_fields_list.ini

  • PLG_FIELDS_LIST_PARAMS_FORM_LAYOUT_FANCY_SELECT, use JLIB_FORM_FIELD_PARAM_LAYOUT_FANCY_SELECT instead

File: administrator/language/en-GB/plg_fields_sql.ini

  • PLG_FIELDS_SQL_PARAMS_FORM_LAYOUT_FANCY_SELECT, use JLIB_FORM_FIELD_PARAM_LAYOUT_FANCY_SELECT instead

File: administrator/language/en-GB/plg_system_jooa11y.ini

  • PLG_SYSTEM_JOOA11Y_ALERT_CLOSE
  • PLG_SYSTEM_JOOA11Y_ALERT_TEXT
  • PLG_SYSTEM_JOOA11Y_CONTAINER_LABEL
  • PLG_SYSTEM_JOOA11Y_CONTRAST
  • PLG_SYSTEM_JOOA11Y_DARK_MODE
  • PLG_SYSTEM_JOOA11Y_ERROR
  • PLG_SYSTEM_JOOA11Y_FORM_LABELS
  • PLG_SYSTEM_JOOA11Y_GOOD
  • PLG_SYSTEM_JOOA11Y_HIDE_OUTLINE
  • PLG_SYSTEM_JOOA11Y_HIDE_SETTINGS
  • PLG_SYSTEM_JOOA11Y_LANG_CODE
  • PLG_SYSTEM_JOOA11Y_LINKS_ADVANCED
  • PLG_SYSTEM_JOOA11Y_MAIN_TOGGLE_LABEL
  • PLG_SYSTEM_JOOA11Y_OFF
  • PLG_SYSTEM_JOOA11Y_ON
  • PLG_SYSTEM_JOOA11Y_PAGE_OUTLINE
  • PLG_SYSTEM_JOOA11Y_SETTINGS
  • PLG_SYSTEM_JOOA11Y_SHORTCUT_SR
  • PLG_SYSTEM_JOOA11Y_SHORTCUT_TOOLTIP
  • PLG_SYSTEM_JOOA11Y_SHOW_OUTLINE
  • PLG_SYSTEM_JOOA11Y_SHOW_SETTINGS
  • PLG_SYSTEM_JOOA11Y_WARNING
  • PLG_SYSTEM_JOOA11Y_AVG_WORD_PER_SENTENCE
  • PLG_SYSTEM_JOOA11Y_COMPLEX_WORDS
  • PLG_SYSTEM_JOOA11Y_DIFFICULT_READABILITY
  • PLG_SYSTEM_JOOA11Y_FAIRLY_DIFFICULT_READABILITY
  • PLG_SYSTEM_JOOA11Y_GOOD_READABILITY
  • PLG_SYSTEM_JOOA11Y_READABILITY
  • PLG_SYSTEM_JOOA11Y_TOTAL_WORDS
  • PLG_SYSTEM_JOOA11Y_VERY_DIFFICULT_READABILITY
  • PLG_SYSTEM_JOOA11Y_PANEL_STATUS_BOTH
  • PLG_SYSTEM_JOOA11Y_PANEL_STATUS_ERRORS
  • PLG_SYSTEM_JOOA11Y_PANEL_STATUS_HIDDEN
  • PLG_SYSTEM_JOOA11Y_PANEL_STATUS_ICON
  • PLG_SYSTEM_JOOA11Y_PANEL_STATUS_NONE
  • PLG_SYSTEM_JOOA11Y_PANEL_STATUS_WARNINGS
  • PLG_SYSTEM_JOOA11Y_HEADING_EMPTY
  • PLG_SYSTEM_JOOA11Y_HEADING_EMPTY_WITH_IMAGE
  • PLG_SYSTEM_JOOA11Y_HEADING_FIRST
  • PLG_SYSTEM_JOOA11Y_HEADING_LONG
  • PLG_SYSTEM_JOOA11Y_HEADING_LONG_INFO
  • PLG_SYSTEM_JOOA11Y_HEADING_MISSING_ONE
  • PLG_SYSTEM_JOOA11Y_HEADING_NON_CONSECUTIVE_LEVEL
  • PLG_SYSTEM_JOOA11Y_PANEL_HEADING_MISSING_ONE
  • PLG_SYSTEM_JOOA11Y_LINK_BEST_PRACTICES
  • PLG_SYSTEM_JOOA11Y_LINK_BEST_PRACTICES_DETAILS
  • PLG_SYSTEM_JOOA11Y_LINK_EMPTY
  • PLG_SYSTEM_JOOA11Y_LINK_EMPTY_LINK_NO_LABEL
  • PLG_SYSTEM_JOOA11Y_LINK_LABEL
  • PLG_SYSTEM_JOOA11Y_LINK_STOPWORD
  • PLG_SYSTEM_JOOA11Y_LINK_STOPWORD_TIP
  • PLG_SYSTEM_JOOA11Y_LINK_URL
  • PLG_SYSTEM_JOOA11Y_LINK_URL_TIP
  • PLG_SYSTEM_JOOA11Y_FILE_TYPE_WARNING
  • PLG_SYSTEM_JOOA11Y_FILE_TYPE_WARNING_TIP
  • PLG_SYSTEM_JOOA11Y_LINK_IDENTICAL_NAME
  • PLG_SYSTEM_JOOA11Y_LINK_IDENTICAL_NAME_TIP
  • PLG_SYSTEM_JOOA11Y_NEW_TAB_WARNING
  • PLG_SYSTEM_JOOA11Y_NEW_TAB_WARNING_TIP
  • PLG_SYSTEM_JOOA11Y_HYPERLINK_ALT_LENGTH_MESSAGE
  • PLG_SYSTEM_JOOA11Y_HYPERLINK_ALT_LENGTH_MESSAGE_INFO
  • PLG_SYSTEM_JOOA11Y_IMAGE_FIGURE_DECORATIVE
  • PLG_SYSTEM_JOOA11Y_IMAGE_FIGURE_DECORATIVE_INFO
  • PLG_SYSTEM_JOOA11Y_IMAGE_FIGURE_DUPLICATE_ALT
  • PLG_SYSTEM_JOOA11Y_LINK_ALT_HAS_BAD_WORD_MESSAGE
  • PLG_SYSTEM_JOOA11Y_LINK_ALT_HAS_BAD_WORD_MESSAGE_INFO
  • PLG_SYSTEM_JOOA11Y_LINK_ALT_HAS_SUS_WORD_MESSAGE
  • PLG_SYSTEM_JOOA11Y_LINK_ALT_HAS_SUS_WORD_MESSAGE_INFO
  • PLG_SYSTEM_JOOA11Y_LINK_ALT_PLACEHOLDER_MESSAGE
  • PLG_SYSTEM_JOOA11Y_LINK_ALT_TOO_LONG_MESSAGE
  • PLG_SYSTEM_JOOA11Y_LINK_ALT_TOO_LONG_MESSAGE_INFO
  • PLG_SYSTEM_JOOA11Y_LINK_ANCHOR_LINK_AND_ALT_MESSAGE
  • PLG_SYSTEM_JOOA11Y_LINK_ANCHOR_LINK_AND_ALT_MESSAGE_INFO
  • PLG_SYSTEM_JOOA11Y_LINK_DECORATIVE_MESSAGE
  • PLG_SYSTEM_JOOA11Y_LINK_HYPERLINKED_IMAGE_ARIA_HIDDEN
  • PLG_SYSTEM_JOOA11Y_LINK_IMAGE_BAD_ALT_MESSAGE
  • PLG_SYSTEM_JOOA11Y_LINK_IMAGE_BAD_ALT_MESSAGE_INFO
  • PLG_SYSTEM_JOOA11Y_LINK_IMAGE_LINK_ALT_TEXT_MESSAGE
  • PLG_SYSTEM_JOOA11Y_LINK_IMAGE_LINK_ALT_TEXT_MESSAGE_INFO
  • PLG_SYSTEM_JOOA11Y_LINK_IMAGE_LINK_NULL_ALT_NO_TEXT_MESSAGE
  • PLG_SYSTEM_JOOA11Y_LINK_IMAGE_PLACEHOLDER_ALT_MESSAGE
  • PLG_SYSTEM_JOOA11Y_LINK_IMAGE_SUS_ALT_MESSAGE
  • PLG_SYSTEM_JOOA11Y_LINK_IMAGE_SUS_ALT_MESSAGE_INFO
  • PLG_SYSTEM_JOOA11Y_LINK_LINK_HAS_ALT_MESSAGE
  • PLG_SYSTEM_JOOA11Y_LINK_PASS_ALT
  • PLG_SYSTEM_JOOA11Y_MISSING_ALT_LINK_BUT_HAS_TEXT_MESSAGE
  • PLG_SYSTEM_JOOA11Y_MISSING_ALT_LINK_MESSAGE
  • PLG_SYSTEM_JOOA11Y_MISSING_ALT_MESSAGE
  • PLG_SYSTEM_JOOA11Y_TEXT_UNDERLINE_WARNING
  • PLG_SYSTEM_JOOA11Y_TEXT_UNDERLINE_WARNING_TIP
  • PLG_SYSTEM_JOOA11Y_LABELS_ARIA_LABEL_INPUT_MESSAGE
  • PLG_SYSTEM_JOOA11Y_LABELS_ARIA_LABEL_INPUT_MESSAGE_INFO
  • PLG_SYSTEM_JOOA11Y_LABELS_INPUT_RESET_MESSAGE
  • PLG_SYSTEM_JOOA11Y_LABELS_INPUT_RESET_MESSAGE_TIP
  • PLG_SYSTEM_JOOA11Y_LABELS_MISSING_IMAGE_INPUT_MESSAGE
  • PLG_SYSTEM_JOOA11Y_LABELS_MISSING_LABEL_MESSAGE
  • PLG_SYSTEM_JOOA11Y_LABELS_NO_FOR_ATTRIBUTE_MESSAGE
  • PLG_SYSTEM_JOOA11Y_LABELS_NO_FOR_ATTRIBUTE_MESSAGE_INFO
  • PLG_SYSTEM_JOOA11Y_EMBED_AUDIO
  • PLG_SYSTEM_JOOA11Y_EMBED_GENERAL_WARNING
  • PLG_SYSTEM_JOOA11Y_EMBED_MISSING_TITLE
  • PLG_SYSTEM_JOOA11Y_EMBED_VIDEO
  • PLG_SYSTEM_JOOA11Y_CONTRAST_ERROR_INPUT_MESSAGE
  • PLG_SYSTEM_JOOA11Y_CONTRAST_ERROR_INPUT_MESSAGE_INFO
  • PLG_SYSTEM_JOOA11Y_CONTRAST_ERROR_MESSAGE
  • PLG_SYSTEM_JOOA11Y_CONTRAST_ERROR_MESSAGE_INFO
  • PLG_SYSTEM_JOOA11Y_CONTRAST_WARNING_MESSAGE
  • PLG_SYSTEM_JOOA11Y_CONTRAST_WARNING_MESSAGE_INFO
  • PLG_SYSTEM_JOOA11Y_READABILITY_NOT_ENOUGH_CONTENT_MESSAGE
  • PLG_SYSTEM_JOOA11Y_READABILITY_NO_P_OR_LI_MESSAGE
  • PLG_SYSTEM_JOOA11Y_QA_BAD_ITALICS
  • PLG_SYSTEM_JOOA11Y_QA_BAD_LINK
  • PLG_SYSTEM_JOOA11Y_QA_BLOCKQUOTE_MESSAGE
  • PLG_SYSTEM_JOOA11Y_QA_BLOCKQUOTE_MESSAGE_TIP
  • PLG_SYSTEM_JOOA11Y_QA_DUPLICATE_ID
  • PLG_SYSTEM_JOOA11Y_QA_DUPLICATE_ID_TIP
  • PLG_SYSTEM_JOOA11Y_QA_FAKE_HEADING
  • PLG_SYSTEM_JOOA11Y_QA_FAKE_HEADING_INFO
  • PLG_SYSTEM_JOOA11Y_QA_PAGE_LANGUAGE_MESSAGE
  • PLG_SYSTEM_JOOA11Y_QA_PDF_COUNT
  • PLG_SYSTEM_JOOA11Y_QA_SHOULD_BE_LIST
  • PLG_SYSTEM_JOOA11Y_QA_SHOULD_BE_LIST_TIP
  • PLG_SYSTEM_JOOA11Y_QA_UPPERCASE_WARNING
  • PLG_SYSTEM_JOOA11Y_TABLES_EMPTY_HEADING
  • PLG_SYSTEM_JOOA11Y_TABLES_EMPTY_HEADING_INFO
  • PLG_SYSTEM_JOOA11Y_TABLES_MISSING_HEADINGS
  • PLG_SYSTEM_JOOA11Y_TABLES_MISSING_HEADINGS_INFO
  • PLG_SYSTEM_JOOA11Y_TABLES_SEMANTIC_HEADING
  • PLG_SYSTEM_JOOA11Y_TABLES_SEMANTIC_HEADING_INFO

Handled from the dependency Sa11y itself, no more own translations are needed. Sa11y - Github Repository

ActionLog plugin app and db property is deprecated

File: administrator/components/com_actionlogs/src/Plugin/ActionLogPlugin.php Replacement: The $this->app and $this->db property is deprecated in the actionlog plugins. Instead of use $this->getApplication() and $this->getDatabase() when the plugin is converted to service providers.

Class deprecations

Planned to be removed in Joomla! 7.0.

File: components/com_banners/src/Helper/BannerHelper.php

Replacement: no replacement

The function BannerHelper::isImage($url) has been replaced with a combination of 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.