WordPress/wp-content/themes
Sergey Biryukov 5ffbad0b42 Twenty Ten: Use correct path for loading block patterns.
By using `get_template_directory()` instead of `get_stylesheet_directory()`, we make sure to include the `block-patterns.php` file from the parent theme.

This avoids a PHP fatal error when using a child theme of Twenty Ten.

Follow-up to [51106].

Props ryelle, sabernhardt, loranrendel.
Fixes #53752.
Built from https://develop.svn.wordpress.org/trunk@51482


git-svn-id: http://core.svn.wordpress.org/trunk@51093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-23 13:13:58 +00:00
..
twentyeleven Bundled Themes: Bump bundled theme versions for WordPress 5.8. 2021-07-18 23:05:00 +00:00
twentyfifteen Bundled Themes: Bump bundled theme versions for WordPress 5.8. 2021-07-18 23:05:00 +00:00
twentyfourteen Bundled Themes: Bump bundled theme versions for WordPress 5.8. 2021-07-18 23:05:00 +00:00
twentynineteen Bundled Themes: Bump bundled theme versions for WordPress 5.8. 2021-07-18 23:05:00 +00:00
twentyseventeen Bundled Themes: Bump bundled theme versions for WordPress 5.8. 2021-07-18 23:05:00 +00:00
twentysixteen Bundled Themes: Bump bundled theme versions for WordPress 5.8. 2021-07-18 23:05:00 +00:00
twentyten Twenty Ten: Use correct path for loading block patterns. 2021-07-23 13:13:58 +00:00
twentythirteen Bundled Themes: Bump bundled theme versions for WordPress 5.8. 2021-07-18 23:05:00 +00:00
twentytwelve Bundled Themes: Bump bundled theme versions for WordPress 5.8. 2021-07-18 23:05:00 +00:00
twentytwenty Bundled Themes: Bump bundled theme versions for WordPress 5.8. 2021-07-18 23:05:00 +00:00
twentytwentyone Bundled Themes: Bump bundled theme versions for WordPress 5.8. 2021-07-18 23:05:00 +00:00
index.php Remove closing PHP tags from the rest of index.php files in wp-content, for consistency with wp-content/index.php. 2014-06-05 15:59:14 +00:00