diff --git a/packages/editor/src/bindings/post-meta.js b/packages/editor/src/bindings/post-meta.js index 160b460bea2a2d..28931acb899908 100644 --- a/packages/editor/src/bindings/post-meta.js +++ b/packages/editor/src/bindings/post-meta.js @@ -45,7 +45,10 @@ export default { ? context.postType : select( editorStore ).getCurrentPostType(); - // TODO: Check that editing is happening in the post editor and not a template. + // Check that editing is happening in the post editor and not a template. + if ( postType === 'wp_template' ) { + return true; + } // Check that the custom field is not protected and available in the REST API. const isFieldExposed =