[wp-trac] [WordPress Trac] #54349: Themes controller does not handle themes in nested directories

WordPress Trac noreply at wordpress.org
Sun Oct 31 02:08:05 UTC 2021


#54349: Themes controller does not handle themes in nested directories
-------------------------------+--------------------
 Reporter:  TimothyBlynJacobs  |      Owner:  (none)
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  5.9
Component:  REST API           |    Version:  5.7
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+--------------------
 WordPress supports nesting themes inside a directory to essentially have a
 theme "bundle". This is used, for example, by the
 [https://github.com/WordPress/theme-experiments Theme Experiments] repo.

 In WordPress 5.7 we added support for the Themes controller to query
 information for a specific theme, #50152. However, the Regex used to
 identify the theme stylesheet does not allow for a `/`, meaning these
 nested themes cannot be addressed by the REST API.

 Reported in https://github.com/WordPress/gutenberg/pull/35985.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54349>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list