Skip to content

Commit

Permalink
Remove the "A powerful new way to style your site" modal (#40939)
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasbenedetto authored Jan 28, 2025
1 parent fd115d1 commit 6cd9bb7
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 153 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: deprecated

Remove global styles modal

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import domReady from '@wordpress/dom-ready';
import { registerPlugin } from '@wordpress/plugins';
import GlobalStylesModal from './modal';
import GlobalStylesNotices from './notices';
import './store';

const showGlobalStylesComponents = () => {
registerPlugin( 'wpcom-global-styles', {
render: () => (
<QueryClientProvider client={ new QueryClient() }>
<GlobalStylesModal />
<GlobalStylesNotices />
</QueryClientProvider>
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ function wpcom_global_styles_enqueue_block_editor_assets() {
'upgradeUrl' => $upgrade_url,
'wpcomBlogId' => wpcom_global_styles_get_wpcom_current_blog_id(),
'planName' => $plan_name,
'modalImage' => plugins_url( 'image.svg', __FILE__ ),
'learnMoreAboutStylesUrl' => $learn_more_about_styles_support_url,
'learnMoreAboutStylesPostId' => $learn_more_about_styles_post_id,
)
Expand Down

This file was deleted.

0 comments on commit 6cd9bb7

Please sign in to comment.