WordPress/wp-content/themes
Peter Wilson 22bbec22de Bundled Themes: Use correct path for loading images in block patterns.
By using `get_template_directory_uri()` instead of `get_stylesheet_directory_uri()`, we make sure to include the images from the parent theme.

This avoids displaying missing images in block patterns when using a child theme of Twenty Ten, Twenty Eleven, or Twenty Twelve.

Follow-up to [51033], [51103], [51106].

Props audrasjb, SergeyBiryukov.
Merges [51483] to the 5.8 branch.
Fixes #53769.


Built from https://develop.svn.wordpress.org/branches/5.8@51488


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-26 03:24:57 +00:00
..
twentyeleven Bundled Themes: Use correct path for loading images in block patterns. 2021-07-26 03:24:57 +00:00
twentyfifteen Bundled Themes: Bump bundled theme versions for WordPress 5.8. 2021-07-19 00:45:00 +00:00
twentyfourteen Bundled Themes: Bump bundled theme versions for WordPress 5.8. 2021-07-19 00:45:00 +00:00
twentynineteen Bundled Themes: Bump bundled theme versions for WordPress 5.8. 2021-07-19 00:45:00 +00:00
twentyseventeen Bundled Themes: Bump bundled theme versions for WordPress 5.8. 2021-07-19 00:45:00 +00:00
twentysixteen Bundled Themes: Bump bundled theme versions for WordPress 5.8. 2021-07-19 00:45:00 +00:00
twentyten Bundled Themes: Use correct path for loading images in block patterns. 2021-07-26 03:24:57 +00:00
twentythirteen Bundled Themes: Bump bundled theme versions for WordPress 5.8. 2021-07-19 00:45:00 +00:00
twentytwelve Bundled Themes: Use correct path for loading images in block patterns. 2021-07-26 03:24:57 +00:00
twentytwenty Bundled Themes: Bump bundled theme versions for WordPress 5.8. 2021-07-19 00:45:00 +00:00
twentytwentyone Bundled Themes: Bump bundled theme versions for WordPress 5.8. 2021-07-19 00:45: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