[wp-trac] [WordPress Trac] #44937: Add _doing_it_wrong to load_plugin_textdomain

WordPress Trac noreply at wordpress.org
Wed Oct 2 13:24:21 UTC 2024


#44937: Add _doing_it_wrong to load_plugin_textdomain
--------------------------------------+-------------------------
 Reporter:  garrett-eclipse           |       Owner:  swissspidy
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  6.7
Component:  I18N                      |     Version:  4.7
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch needs-dev-note  |     Focuses:
--------------------------------------+-------------------------

Comment (by TobiasBg):

 I just received a message that the WordPress Beta Tester plugin might also
 be affected:

   [02-Oct-2024 13:16:35 UTC] PHP Notice:  Function
 _load_textdomain_just_in_time was called <strong>incorrectly</strong>.
 Translation loading for the <code>wordpress-beta-tester</code> domain was
 triggered too early. This is usually an indicator for some code in the
 plugin or theme running too early. Please see <a
 href="https://developer.wordpress.org/advanced-administration/debug/debug-
 wordpress/">Debugging in WordPress</a> for more information. (This message
 was added in version 6.7.0.) in /var/www/html/wp-includes/functions.php on
 line 6099

 (ping @afragen).

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


More information about the wp-trac mailing list