Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
27 Nov 2026

Pull Request for Issue # .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

This change was created with the help of AI (Claude Code).

Summary of Changes

The $document property of views is deprecated since Joomla 4.4 and will be made private in 7.0. Two layouts still use it:

  • administrator/.../tmpl/weblinks/modal.php (web asset manager and script options for the editor button)
  • components/.../tmpl/categories/default.php (web asset manager)

They now use $this->getDocument(), which exists since 4.4.

Testing Instructions

  • Backend: edit an article and use the Weblink editor button; select a weblink.
  • Frontend: open a "List All Web Link Categories" menu item.

Expected result

Both work as before, no deprecation messages for $document.

Actual result

Works, but uses the deprecated property, which will no longer be accessible in Joomla 7.

Documentation Changes Required

None

avatar Hackwar Hackwar - open - 27 Nov 2026
avatar Hackwar Hackwar - change - 27 Nov 2026
The description was changed
avatar Hackwar Hackwar - edited - 27 Nov 2026

Add a Comment

Login with GitHub to post a comment