[wp-trac] [WordPress Trac] #63235: Getting "Overriding WordPress globals is prohibited. Found assignment to $post" errors into the core files.

WordPress Trac noreply at wordpress.org
Fri Apr 4 11:06:11 UTC 2025


#63235: Getting "Overriding WordPress globals is prohibited. Found assignment to
$post" errors into the core files.
-------------------------------------------------+-------------------------
 Reporter:  viralsampat                          |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:  wontfix
 Keywords:  dev-feedback 2nd-opinion needs-      |     Focuses:  coding-
  testing                                        |  standards
-------------------------------------------------+-------------------------
Changes (by swissspidy):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 This rule is for plugin and developers who might be overriding WordPress
 globals.

 But WordPress ''is'' WordPress, so this rule doesn't apply for core :-)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63235#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list