[wp-trac] [WordPress Trac] #60006: Remove the Unused global variables in the wp-admin
WordPress Trac
noreply at wordpress.org
Mon Dec 4 11:53:40 UTC 2023
#60006: Remove the Unused global variables in the wp-admin
--------------------------+--------------------------------------
Reporter: viralsampat | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Site Health | Version: 6.4
Severity: normal | Keywords: needs-patch dev-feedback
Focuses: |
--------------------------+--------------------------------------
Hello Team,
I have reviewed the wp-admin folder code and found that a few files
function with unused global $wpdb variable. So, we need to remove the
$wpdb global variable here.
File Path:
/wp-admin/includes/class-core-upgrader.php src/wp-admin/includes/class-
core-upgrader.php
/wp-admin/includes/post.php src/wp-admin/includes/post.php
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60006>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list