Closed kosminen closed 7 years ago
Note: Didn't really have time to check whether the check could be done more elegantly somewhere a bit earlier in the code, but at least this does the trick :)
@kosminen looks good. could you quickly fix the code formatting and I'll merge. :)
@anttiviljami Yes sir-ee, gon' an' don' adding them two spaces. Damn it's hard to get used to that flavour of coding style :)
Check that string is not empty before checking its first character. Pushes an error otherwise if WP is on debug mode.