Not sure about any security issue, but this addition was added today to save editing a core file and having to after after every update. Just add it to your functions.php file f your child theme:

...