[wp-trac] [WordPress Trac] #62378: Allow patterns files to be divided into sub folders inside the main "patterns" folder

WordPress Trac noreply at wordpress.org
Wed Feb 26 17:00:02 UTC 2025


#62378: Allow patterns files to be divided into sub folders inside the main
"patterns" folder
------------------------------+------------------------
 Reporter:  juanfra           |       Owner:  joemcgill
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  6.8
Component:  Themes            |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+------------------------
Changes (by joemcgill):

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


Comment:

 In [changeset:"59872" 59872]:
 {{{
 #!CommitTicketReference repository="" revision="59872"
 Themes: Allow pattern files to be organized into sub-folders.

 This allows theme pattern files located in a theme's `/patterns/`
 directory to be organized into sub-folders and will automatically be
 located by `WP_Theme::get_block_patterns()` method.

 Props juanfra, joemcgill, poena, flixos90.
 Fixes #62378.
 }}}

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


More information about the wp-trac mailing list