We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I create a font size with a number in the slug, i.e.
[ 'name' => 'Size 1', 'slug' => 'size1', 'size' => 10, ], [ 'name' => 'Size 2', 'slug' => 'size2size', 'size' => 20, ],
it becomes:
has-size-1-font-size has-size-2-size-font-size
The expected behavior was
has-size1-font-size has-size2size-font-size
If this is intended, it is anything else than obvious behavior.
Create child theme and add something like:
add_action('after_setup_theme', function () { $font_sizes = [ [ 'name' => 'Size 1', 'slug' => 'size1', 'size' => 50, ] ]; add_theme_support('editor-font-sizes', $font_sizes); }, 100);
No response
The text was updated successfully, but these errors were encountered:
Hi,
Thanks for reporting; This has been already been reported at #31629. Feel free to add your reaction and follow its progress in the issue.
Sorry, something went wrong.
No branches or pull requests
Description
When I create a font size with a number in the slug, i.e.
it becomes:
The expected behavior was
If this is intended, it is anything else than obvious behavior.
Step-by-step reproduction instructions
Create child theme and add something like:
Screenshots, screen recording, code snippet
No response
Environment info
Pre-checks
The text was updated successfully, but these errors were encountered: