Changes between Initial Version and Version 1 of Ticket #57579, comment 3
- Timestamp:
- 01/30/2023 05:50:04 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #57579, comment 3
initial v1 2 2 > 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. 3 3 4 Indeed, that sounds like a good idea too. We already this for `$current_screen`:4 Indeed, that sounds like a good idea too. We already do this for `$current_screen`: 5 5 {{{ 6 6 // Catch plugins that include admin-header.php before admin.php completes.