Make WordPress Core

Changes between Version 7 and Version 8 of Ticket #64950, comment 5


Ignore:
Timestamp:
04/01/2026 05:23:55 AM (2 months ago)
Author:
liaison
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #64950, comment 5

    v7 v8  
    2828
    2929Note on _doing_it_wrong():
    30 I explored adding a _doing_it_wrong() check for these early calls. However, because this function is invoked at the very beginning of the bootstrap process, triggering any output at this stage (even via trigger_error) leads to stability issues in the test environment (missing \__\(), wp_kses(), specifically causing REST API discovery failures in Multisite E2E tests).
     30I explored adding a _doing_it_wrong() check for these early calls. However, because this function is invoked at the very beginning of the bootstrap process, triggering any output at this stage (even via trigger_error) leads to stability issues in the test environment (missing `__`(), wp_kses(), specifically causing REST API discovery failures in Multisite E2E tests).
    3131That destabilize the bootstrap process and fail Multisite E2E tests.
    3232