Handle menu links when trashing content.

Closes #3583106

Merge request reports

Loading