Support the original meta keys

We originally used different meta keys, in the format of `_wp_format_*`
and later switched to `_format_*`. This code adds support for the old
keys for posts made before the transition.