Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #63224


Ignore:
Timestamp:
04/03/2025 06:37:10 AM (13 months ago)
Author:
sabernhardt
Comment:

I did not find a way to receive the warning either, but I checked the history:

  • [59794] added the _wp_get_site_editor_redirection_url() function.
  • One of the commits in GB67199 changed the condition, removing isset() when it corrected QUERY_STRING.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #63224

    • Property Milestone changed from Awaiting Review to 6.8
    • Property Version changed from to trunk
    • Property Component changed from Themes to Editor
    • Property Summary changed from Minor Code Improvement : Warning Cannot modify header information to Undefined array key "QUERY_STRING" in _wp_get_site_editor_redirection_url()
  • Ticket #63224 – Description

    initial v2  
    11Got one Warning message in the Twenty Twenty-Five theme while opening in Appearance>Editor
    2 Wordpress Version - development version (6.8-RC2)
     2WordPress Version - development version (6.8-RC2)
    33PHP Version - 8.2
    44
    5 Warning - Undefined array key "Query String" in var/www/html/site-editor.php on line 34
    6 Warning - Cannot modify header information- headers already sent by (output started at var/www/html/site-editor.php on line 34) in var/www/html/wp-admin/admin-header.php on line 14
     5`Warning - Undefined array key "QUERY_STRING" in .../site-editor.php on line 34`
     6`Warning - Cannot modify header information- headers already sent by (output started at .../site-editor.php on line 34) in .../wp-admin/admin-header.php on line 14`