[wp-trac] [WordPress Trac] #61605: Add Support for dynamically changing WordPress styles variations using filter
WordPress Trac
noreply at wordpress.org
Tue Jul 9 14:56:48 UTC 2024
#61605: Add Support for dynamically changing WordPress styles variations using
filter
---------------------------+------------------------------
Reporter: noamanahmed | Owner: (none)
Type: enhancement | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
---------------------------+------------------------------
Comment (by youknowriad):
Yes, I know but I'm suggesting that there's no difference between these
style variations conceptually today and we should have a single
registration function for both of them. Specifying `blockTypes` like we in
the theme's styles folder would allow to register block specific ones,
omitting it would allow registering global ones.
I know it requires more work but I think it's good to be consistent there
and have a unique registry for these.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61605#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list