[wp-trac] [WordPress Trac] #62984: Find some "global variables" are missing to define into the WordPress core files.
WordPress Trac
noreply at wordpress.org
Wed Feb 19 10:25:54 UTC 2025
#62984: Find some "global variables" are missing to define into the WordPress core
files.
------------------------------+----------------------------------------
Reporter: viralsampat | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords: dev-feedback needs-testing
Focuses: coding-standards |
------------------------------+----------------------------------------
Hello team,
I have checked WordPress core file and I have found this "Overriding
WordPress globals is prohibited." errors into the few files.
Also, I have found that some variables need to define globally into the
few core files.
Here, I have mentioned few files list:
/src/wp-admin/menu-header.php
/src/wp-admin/menu.php
/src/wp-includes/shortcodes.php
/src/wp-includes/version.php
Thanks,
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62984>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list