[x] All commits are relevant to the purpose of the PR (e.g. no debug statements, unrelated refactoring, or arbitrary linting)
Small amounts of additional linting are usually okay, but if it makes it hard to concentrate on the relevant changes, ask for the unrelated changes to be reverted, and submitted as a separate PR.
Replaces https://github.com/silverstripe/silverstripe-versioned/pull/438
Follow up of https://github.com/silverstripe/silverstripe-admin/pull/1640#pullrequestreview-1881274997
Issues
https://github.com/silverstripe/silverstripe-framework/pull/11105 https://github.com/silverstripe/silverstripe-admin/issues/1639
Pull request checklist