Skip to content

Commit

Permalink
Revert "Pass through editor/after-deprecation feature flag to iframed…
Browse files Browse the repository at this point in the history
… editor (#41920)" (#43538)

This reverts commit b5ec40a.
  • Loading branch information
glendaviesnz committed Jun 23, 2020
1 parent bc09928 commit 74049ca
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions client/gutenberg/editor/calypsoify-iframe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -734,11 +734,6 @@ const mapStateToProps = (
queryArgs = wpcom.addSupportParams( queryArgs );
}

// Needed to pass through feature flag to iframed editor.
if ( window.location.href.indexOf( 'editor/after-deprecation' ) > -1 ) {
queryArgs[ 'editor-after-deprecation' ] = 1;
}

const siteAdminUrl =
editorType === 'site'
? getSiteAdminUrl( state, siteId, 'admin.php?page=gutenberg-edit-site' )
Expand Down

0 comments on commit 74049ca

Please sign in to comment.