silverstripe/silverstripe-cms — pull request #983 by SparkGreen (2014-03-27 03:10:15+00:00)
Title: Bug #954: Fixes linktracking on file shortcodes and adds compatibility with older shortcodes

Replaces Pull request 954.
trackLinksInField() was not catching file_link shortcodes, so now scans for these and adds to $linkedFiles array.
Also allows for [sitetree_link,id=...] and [sitetree_link id=...]