[wp-trac] [WordPress Trac] #62519: _doing_it_wrong misplaced in the _load_textdomain_just_in_time() function

WordPress Trac noreply at wordpress.org
Fri Nov 22 13:46:35 UTC 2024


#62519: _doing_it_wrong misplaced in the _load_textdomain_just_in_time() function
-----------------------------+-------------------------
 Reporter:  babelhalsupport  |       Owner:  (none)
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  I18N             |     Version:  6.7
 Severity:  normal           |  Resolution:  worksforme
 Keywords:  has-patch        |     Focuses:
-----------------------------+-------------------------
Changes (by swissspidy):

 * status:  new => closed
 * version:  6.7.1 => 6.7
 * resolution:   => worksforme
 * milestone:  Awaiting Review =>


Comment:

 Hi there and welcome to Trac.

 The current location is correct. If there is no `$path`, there is no
 translation file to load, so there is no reason for warning about loading
 translations too early.

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


More information about the wp-trac mailing list