#59185 closed defect (bug) (fixed)
Remove the Unused global variables in the wp-includes folder.
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.4 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | coding-standards | Cc: |
Description
I have reviewed the code and found Unused global variables in some of the below files. Please check the below files:
Files:
- wp-includes/class-wp-xmlrpc-server.php
- wp-includes/user.php
Attachments (2)
Change History (8)
#5
@
3 weeks ago
- Resolution set to fixed
- Status changed from accepted to closed
Hi there, thanks for the patches!
Looking at 59185.2.patch, I don't think those variables should be removed, as they are explicitly globalized for use in theme templates, and removing them would break backward compatibility. For reference, load_template()
was introduced in [1910].
Note: See
TracTickets for help on using
tickets.
Added patch