[wp-trac] [WordPress Trac] #40796: Overriding WordPress globals is prohibited

WordPress Trac noreply at wordpress.org
Thu May 18 06:04:16 UTC 2017


#40796: Overriding WordPress globals is prohibited
-----------------------------+-----------------------------
 Reporter:  maneshtimilsina  |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Bundled Theme    |    Version:  4.7.5
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 In Twenty Seventeen theme, global variable $post is overridden at line 145
 of /inc/template-tags.php

 As per theme review guidelines Overriding WordPress globals is prohibited.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40796>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list