Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct misbranded spelling of WonderBlocks and DOM ID dupe #1221

Merged
merged 2 commits into from
Jul 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/app/pages/settings/wonderBlocksSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ const WonderBlocksSettings = () => {

const getWonderBlocksNoticeTitle = () => {
return wonderBlocks
? __( 'Wonder Blocks Enabled', 'wp-plugin-bluehost' )
: __( 'Wonder Blocks Disabled', 'wp-plugin-bluehost' );
? __( 'WonderBlocks Enabled', 'wp-plugin-bluehost' )
: __( 'WonderBlocks Disabled', 'wp-plugin-bluehost' );
};
const getWonderBlocksNoticeText = () => {
return wonderBlocks
? __(
'Create new content to see Wonder Blocks in action.',
'Create new content to see WonderBlocks in action.',
'wp-plugin-bluehost'
)
: __(
'Wonder Blocks will no longer display.',
'WonderBlocks will no longer display.',
'wp-plugin-bluehost'
);
};
Expand Down Expand Up @@ -77,10 +77,10 @@ const WonderBlocksSettings = () => {
return (
<div className="nfd-flex nfd-flex-col nfd-gap-6">
<ToggleField
id="help-center-toggle"
label="Wonder Blocks"
id="wonderblocks-toggle"
label="WonderBlocks"
description={ __(
'Wonder Blocks provides a library of customizable block patterns and page templates.',
'WonderBlocks provides a library of customizable block patterns and page templates.',
'wp-plugin-bluehost'
) }
disabled={ wonderBlocksLocked }
Expand Down
Loading