[wp-trac] [WordPress Trac] #63224: Undefined array key "QUERY_STRING" in _wp_get_site_editor_redirection_url()
WordPress Trac
noreply at wordpress.org
Thu Apr 3 07:23:37 UTC 2025
#63224: Undefined array key "QUERY_STRING" in _wp_get_site_editor_redirection_url()
-------------------------------------------------+-------------------------
Reporter: akshaydhere | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.8
Component: Editor | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing needs- | Focuses: php-
testing-info | compatibility
-------------------------------------------------+-------------------------
Changes (by dilipbheda):
* keywords: => has-patch needs-testing needs-testing-info
* focuses: => php-compatibility
Comment:
@sabernhardt @sainathpoojary We can fix this by using the `empty()`
checker instead of `!`.
I've attached the patch for testing.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63224#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list