[wp-trac] [WordPress Trac] #59420: Remove unused variables on the wp-includes folder.
WordPress Trac
noreply at wordpress.org
Thu Sep 21 04:06:26 UTC 2023
#59420: Remove unused variables on the wp-includes folder.
--------------------------+-------------------------------
Reporter: upadalavipul | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: | Focuses: coding-standards
--------------------------+-------------------------------
Comment (by mukesh27):
The changes for wp-includes/ms-settings.php added 11 year back with the
below message. I'm struggling to get the ticket
* Define $_wp_switched_stack and $_wp_switched. This way switch_to_blog()
and restore_current_blog() can rely on it being set.
`$_wp_switched_stack` is set as global so there may be failing something
if we remove it?
The `null` response variable added in
[https://core.trac.wordpress.org/changeset/34928 changeset 34928]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59420#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list