Make WordPress Core

#58601 closed defect (bug) (duplicate)

Need to Remove unused global $post in the twentytwenty theme.

Reported by: upadalavipul's profile upadalavipul Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.3
Component: Bundled Theme Keywords:
Focuses: coding-standards Cc:


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

Attachments (1)

58601.patch (404 bytes) - added by upadalavipul 12 months ago.

Download all attachments as: .zip

Change History (2)

#1 @sabernhardt
12 months ago

  • Component changed from General to Bundled Theme
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
  • Version changed from trunk to 5.3

This is already tracked on #57371.

Note: See TracTickets for help on using tickets.