diff --git a/packages/gatsby-source-wordpress/src/normalize.js b/packages/gatsby-source-wordpress/src/normalize.js index 24df68bd7a4eb..7c68b0ef24c33 100644 --- a/packages/gatsby-source-wordpress/src/normalize.js +++ b/packages/gatsby-source-wordpress/src/normalize.js @@ -60,7 +60,7 @@ exports.getValidKey = getValidKey // Remove the ACF key from the response when it's not an object const normalizeACF = entities => entities.map(e => { - if (!_.isObject(e[`acf`])) { + if (!_.isPlainObject(e[`acf`])) { delete e[`acf`] } return e