[wp-trac] [WordPress Trac] #62462: Reconsider _doing_it_wrong warning when loading translations early

WordPress Trac noreply at wordpress.org
Tue Nov 26 15:21:29 UTC 2024


#62462: Reconsider _doing_it_wrong warning when loading translations early
-------------------------------+---------------------
 Reporter:  TimothyBlynJacobs  |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  6.7.2
Component:  I18N               |     Version:  6.7
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+---------------------

Comment (by swissspidy):

 > In case this will be reverted, I suggest to keep the code, and just have
 a condition around it. So that production environments would not see this

 That's what WP_DEBUG, WP_DEBUG_LOG, and WP_DEBUG_DISPLAY are for.

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


More information about the wp-trac mailing list