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

WordPress Trac noreply at wordpress.org
Wed Oct 2 09:49:15 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 swissspidy):

 > Please provide details on how to fix them. It seems that almost every
 plugin creates a issue.

 In most cases it means the plugin can simply remove any
 `load_plugin_textdomain()` calls they have in their plugin. WordPress will
 automatically load the translation for them.

 There can be more complex cases though, which the dev-note will cover.

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


More information about the wp-trac mailing list