Not sure how `$link_expired` is used here.