[wp-trac] [WordPress Trac] #54645: Allow numeric theme name

WordPress Trac noreply at wordpress.org
Sat May 28 15:05:25 UTC 2022


#54645: Allow numeric theme name
-------------------------------------+-------------------------------------
 Reporter:  alvastar                 |       Owner:  spacedmonkey
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  Future Release
Component:  REST API                 |     Version:  5.7
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing has-patch  |     Focuses:  administration,
  needs-unit-tests                   |  template, multisite, rest-api
-------------------------------------+-------------------------------------
Changes (by SergeyBiryukov):

 * keywords:  needs-testing has-patch => needs-testing has-patch needs-unit-
     tests


Comment:

 Replying to [comment:4 lopo]:
 > I'm removing the `needs-unit-tests` keyword since there's currently no
 default theme with a numerical dirname to be retrieved by a call to
 `wp_get_themes()`.

 I think this change would still benefit from unit tests to make sure the
 fix works as expected and there are no regressions at a later point.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54645#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list