Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHerman committed Apr 29, 2024
1 parent b148632 commit 8574687
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/extensions/site-content/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 8574687

Please sign in to comment.