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

WordPress Trac noreply at wordpress.org
Thu Nov 28 10:13:49 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 mgparisi):

 This is awful, half of my websites are affected, and I want to register a
 complaint.  WordPress is acting like an application in a death spiral, and
 this is not acceptable.

 I agree with @swissspidy this is what these variables. Except that for
 some reason this update changes default settings so that WP_DEBUG_DISPLAY
 now needs to be explicitly set.  Which is where the complaints are coming
 from. New notices should not be presented to an application of this age.
 These notices are happening before the headers are sent, making it
 impossible for non-technical people to login to update the plugins. The
 solution "add_filter( 'doing_it_wrong_trigger_error', '__return_false' );"
 is not adequately stated in many of the documentation, as the
 documentation doesn't tell us where to put this.

 Here is another one of these bug reports:

 https://wordpress.org/support/topic/update-to-wp6-7
 -_load_textdomain_just_in_time-was-called-incorrectly/

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


More information about the wp-trac mailing list