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

Incorrect Key Name (customSpaceSize) in Theme Handbook > Spacing #1799

Open
cawalle opened this issue Nov 16, 2024 · 1 comment
Open

Incorrect Key Name (customSpaceSize) in Theme Handbook > Spacing #1799

cawalle opened this issue Nov 16, 2024 · 1 comment
Labels
[Status] To do Issue marked as Todo

Comments

@cawalle
Copy link

cawalle commented Nov 16, 2024

Issue Description

The documentation mistakenly refers to settings.spacing.customSpaceSize instead of the correct key, settings.spacing.customSpacingSize.

URL of the Page with the Issue

https://developer.wordpress.org/themes/global-settings-and-styles/settings/spacing/#defining-allowed-spacing-units

Section of Page with the Issue

The issue appears in the first paragraph of the "Defining allowed spacing units" section (linked above).

Why is this a Problem?

The incorrect key (customSpaceSize) prevents the feature from working as expected, potentially confusing theme developers who jump directly to this part of the documentation.

Suggested Fix

Replace settings.spacing.customSpaceSize with settings.spacing.customSpacingSize to reflect the correct key name.

@cawalle cawalle added the [Status] To do Issue marked as Todo label Nov 16, 2024
Copy link

Heads up @WordPress/docs-issues-coordinators, we have a new issue open. Time to use 'em labels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] To do Issue marked as Todo
Projects
None yet
Development

No branches or pull requests

1 participant