[wp-trac] [WordPress Trac] #25948: THX - themes.php updates based on THX38 plugin
WordPress Trac
noreply at wordpress.org
Sun Dec 1 20:32:56 UTC 2013
#25948: THX - themes.php updates based on THX38 plugin
-----------------------------+-----------------------
Reporter: matveb | Owner: nacin
Type: task (blessed) | Status: reopened
Priority: highest omg bbq | Milestone: 3.8
Component: Appearance | Version: trunk
Severity: normal | Resolution:
Keywords: |
-----------------------------+-----------------------
Comment (by kovshenin):
Can anyone explain how `themes.data.settings.extraRoutes` is supposed to
work? It doesn't look like `_.extend()` on `themes.routes` in theme.js is
working as expected so there's really nothing we can do with those extra
routes, unless I'm missing something.
To add the ability to browse themes from subfolders,
[https://gist.github.com/kovshenin/7740346 I had to extend
wp.themes.routes manually], which feels rather hacky.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25948#comment:41>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list