[wp-trac] [WordPress Trac] #42049: Customize Themes: extensibility improvements
WordPress Trac
noreply at wordpress.org
Sat Sep 30 20:33:30 UTC 2017
#42049: Customize Themes: extensibility improvements
------------------------------+-------------------------
Reporter: celloexpressions | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.9
Component: Customize | Version: trunk
Severity: normal | Keywords: needs-patch
Focuses: |
------------------------------+-------------------------
Extensiblility was a goal of #37661. Now that the initial framework is in
core, let's audit the potential to extend the core functionality.
In particular, `WP_Customize_Themes_Section` should make it as easy as
possible for developers to add theme sections for browsing themes from
external sources. One initial improvement would be an instance parameter
that determines whether searching and filtering is done locally on the
loaded themes (like the installed section) or remotely through a theme
directory API (like the wporg section) rather than using hardcoded checks
for `installed` and `wporg`. We could also use filters in the load themes
action to minimize the need for changes in themes section subclasses.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42049>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list