Check that param is null

`! empty()` means required, supplied arguments are marked as missing
Formatting
Merge pull request #678 from WP-API/required-fixes

Check that param is null