Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #57579, comment 3


Ignore:
Timestamp:
01/30/2023 05:50:04 PM (13 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57579, comment 3

    initial v1  
    22> I can see one more alternative option, which could (should) possible be applied in conjunction with the solution suggested by @peterwilsoncc: for `wp-admin/admin-header.php` to do an early check for the global variables it requires to be set and to set those to a default value (for example, an empty string for `$title) if the variable is not available.
    33
    4 Indeed, that sounds like a good idea too. We already this for `$current_screen`:
     4Indeed, that sounds like a good idea too. We already do this for `$current_screen`:
    55{{{
    66// Catch plugins that include admin-header.php before admin.php completes.