[wp-trac] [WordPress Trac] #58601: Need to Remove unused global $post in the twentytwenty theme.

WordPress Trac noreply at wordpress.org
Thu Jun 22 13:27:58 UTC 2023


#58601: Need to Remove unused global $post in the twentytwenty theme.
------------------------------+-----------------------------
 Reporter:  upadalavipul      |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  General           |    Version:  trunk
 Severity:  normal            |   Keywords:
  Focuses:  coding-standards  |
------------------------------+-----------------------------
 I have reviewed the theme code and found the global $post variable does
 not use in the template-tags.php file.

 File name: trunk/wp-content/themes/twentytwenty/inc/template-tags.php Line
 no - 334

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


More information about the wp-trac mailing list