[wp-trac] [WordPress Trac] #53752: Twenty Ten: Block patterns file causes error in child themes

WordPress Trac noreply at wordpress.org
Mon Jul 26 06:42:53 UTC 2021


#53752: Twenty Ten: Block patterns file causes error in child themes
-----------------------------------+-----------------------------
 Reporter:  ryelle                 |       Owner:  SergeyBiryukov
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  5.8.1
Component:  Bundled Theme          |     Version:  5.8
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch fixed-major  |     Focuses:
-----------------------------------+-----------------------------

Comment (by aristath):

 Why don't we use `get_theme_file_path()` for things like this? It will get
 the path from a child theme or parent theme correctly every time.

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


More information about the wp-trac mailing list