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

WordPress Trac noreply at wordpress.org
Mon Feb 27 15:32:38 UTC 2023


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

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55426" 55426]:
 {{{
 #!CommitTicketReference repository="" revision="55426"
 Themes: Account for a numeric theme directory in
 `WP_Theme::__construct()`.

 This ensures that if a theme with a numeric directory name is active, it
 is correctly identified as such, and that theme support features work as
 expected.

 Follow-up to [20029], [49925].

 Props lopo, alvastar, winterpsv, hugodevos, ankit-k-gupta, jakariaistauk,
 mukesh27, spacedmonkey, SergeyBiryukov.
 Fixes #54645.
 }}}

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


More information about the wp-trac mailing list