fixing parent issue within link-template.php until core does so