[wp-trac] [WordPress Trac] #65120: Add `wp_elements_block_supports_class_name` filter to `wp_get_elements_class_name()`
WordPress Trac
noreply at wordpress.org
Tue Apr 28 18:11:34 UTC 2026
#65120: Add `wp_elements_block_supports_class_name` filter to
`wp_get_elements_class_name()`
-------------------------------------+-------------------------------------
Reporter: baikare.sandeep007 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: template, performance,
has-test-info 2nd-opinion | coding-standards
-------------------------------------+-------------------------------------
Comment (by baikare.sandeep007):
I thought the class names starting with `wp-elements-*` would be defined
in a CSS file, but it turns out they’re generated dynamically within the
same `elements.php` file. Because of that, I don’t think it will break the
UI. However, it would definitely give developers more flexibility to use
user-friendly class names.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65120#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list