Update function.php

Changed and add current Wordpress Standards 4.1