Support old and new wordpress metadata format
1.8.1