Update comment to reflect that parameter template_name for wc_get/locate...

..._template() only accepts strings

Fixes #5389