[wp-trac] [WordPress Trac] #58318: Remove `load_theme_textdomain()` calls from default themes

WordPress Trac noreply at wordpress.org
Thu May 18 10:06:05 UTC 2023


#58318: Remove `load_theme_textdomain()` calls from default themes
---------------------------+---------------------
 Reporter:  swissspidy     |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  6.3
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:
---------------------------+---------------------

Comment (by spacedmonkey):

 I think it is worth writing a blog post about this. I had no idea about
 this change. I think flagging and the performance impact it might have
 would go a long way to get themes to stop using these functions.

 Looking at the theme directory, seems to be lots of plugins there that use
 it. See https://www.wpdirectory.net/search/01H0Q50AEDHDWKN0TFDZ3BJZ5M

 Including storefront, Astra and OceanWP, three of the largest themes in
 the repo.

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


More information about the wp-trac mailing list