diff --git a/src/extensions/site-content/index.js b/src/extensions/site-content/index.js index e254d44ff14..674ac5b60ca 100644 --- a/src/extensions/site-content/index.js +++ b/src/extensions/site-content/index.js @@ -45,6 +45,7 @@ export const CoBlocksSiteContent = ( props ) => { const { postTypes } = props; + // Prevent Site Content from loading outside of post-new.php pages. if ( ! window.location.pathname.includes( 'post-new.php' ) ) { return; }