[wp-trac] [WordPress Trac] #53769: Bundled themes: block-patterns.php file should use `get_template_directory_uri` instead of `get_stylesheet_directory_uri`

WordPress Trac noreply at wordpress.org
Sat Jul 24 12:36:59 UTC 2021


#53769: Bundled themes: block-patterns.php file should use
`get_template_directory_uri` instead of `get_stylesheet_directory_uri`
---------------------------+---------------------
 Reporter:  audrasjb       |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  5.8.1
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+---------------------
Changes (by SergeyBiryukov):

 * keywords:  needs-patch => has-patch


Comment:

 Good catch!

 Twenty Ten, Twenty Eleven, and Twenty Twelve appear to be the only
 affected themes. The rest are already using `get_template_directory_uri()`
 for images in `inc/block-patterns.php`.

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


More information about the wp-trac mailing list