Fixed some typos in core.php
Merge pull request #1244 from ravage84/patch-3

Fixed some typos in core.php