[wp-trac] [WordPress Trac] #33473: Shortcodes + Widgets + Nav Menus. Unified "component" API (aka Content Blocks)
WordPress Trac
noreply at wordpress.org
Tue Dec 13 15:22:20 UTC 2016
#33473: Shortcodes + Widgets + Nav Menus. Unified "component" API (aka Content
Blocks)
-----------------------------+------------------
Reporter: brentjett@… | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 4.8
Component: Widgets | Version:
Severity: normal | Resolution:
Keywords: | Focuses: ui
-----------------------------+------------------
Comment (by brentjett@…):
Love to see this concept getting some traction. Not to complicate the
issue but one thing to keep in mind for a true component system is css/js
dependencies. Ideally you want to declare the stylesheets or scripts that
a component requires and have it be enqueued for a page only when that
component will be used in that page. That allows you to start creating
modular components that aren't tied to their theme or plugin's main
stylesheet. It'd be great to have that logic built into the foundation of
a future-looking API.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33473#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list