Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #62154, comment 15


Ignore:
Timestamp:
10/04/2024 03:40:38 PM (8 months ago)
Author:
room34
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #62154, comment 15

    v2 v3  
    66
    77From what I've seen here, this likely won't be an issue if plugins don't call the function too early, but it does complicate the suggestion that plugins don't need to call the function at all.
     8
     9UPDATE: Well, I feel a bit silly about this. I realized shortly after I posted this that there's another option… if the comments at the top of the main plugin file include `Domain Path:` then `load_plugin_textdomain()` is not needed for Poedit to generate the file. Still… since a lot of plugins (not just mine) are generating the error, it's worth mentioning.