[wp-trac] [WordPress Trac] #62154: Latest beta Warnings Function load_plugin_textdomain was called incorrectly.

WordPress Trac noreply at wordpress.org
Wed Oct 9 21:51:06 UTC 2024


#62154: Latest beta Warnings Function load_plugin_textdomain was called
incorrectly.
--------------------------+------------------------
 Reporter:  neo2k23       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  I18N          |     Version:  trunk
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |     Focuses:
--------------------------+------------------------

Comment (by room34):

 Another issue: [ACF
 Blocks](https://www.advancedcustomfields.com/resources/blocks/) won't load
 translations unless `load_plugin_textdomain()` is explicitly called on the
 `plugins_loaded` action. I've tried it on `after_setup_theme` and `init`,
 and the translations don't load.

 Of course, ACF Blocks don't seem to work right with 6.7-beta2 anyway, so
 there are other issues going on. But I've found this issue with the
 translations also affects 6.6.2.

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


More information about the wp-trac mailing list