Hi all, today I cleanup my custom fields and database. I have one group of fields that I have used where the field 'distance' on 80% of the posts is empty. I remove the custom field to another custom field group so that I can specify exact the posts where I have to set the distance.
Is it safe to remove all the rows in the database where 'distance' is empty?
And second: is it safe to remove all rows in the postmeta where meta_value is empty?
FYI, WordPress does not support saving an empty value to the database. If a field (for example text) has a value then you delete it when editing the post and save changes, the current row will be deleted in the database.