[buddypress-trac] [BuddyPress Trac] #9240: WP 6.7 will introduce a doing it wrong notice about the load_plugin_textdomain() function

buddypress-trac noreply at wordpress.org
Mon Sep 30 18:55:19 UTC 2024


#9240: WP 6.7 will introduce a doing it wrong notice about the
load_plugin_textdomain() function
--------------------------+-------------------------
 Reporter:  imath         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  15.0.0
Component:  I18N          |    Version:  1.0
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-------------------------
 Here's the notice:

 {{{
 PHP Notice:  Function load_plugin_textdomain was called
 <strong>incorrectly</strong>.
 Attempted to load translations for the <code>buddypress</code> domain too
 early.
 Translations should be loaded after the <code>after_setup_theme</code>
 action has fired,
 to ensure that the current user is already set up.
 Please see Debugging in WordPress for more information. (This message was
 added in version 6.7.0.)
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9240>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list