Change default link values to allow for locale handling
When $url is not an array it must be checked before

This causes invalid offset errors in PHP 5.4:

- Closes GH-181
- Closes GH-225
- Closes #462