Check for strlen to allow 0 values in attributes. Closes #3675

Conflicts:
	admin/post-types/writepanels/writepanel-product_data.php