Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#58601 closed defect (bug) (duplicate)

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

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

Description

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 3 years ago.

Download all attachments as: .zip

Change History (2)

#1 @sabernhardt
3 years ago

  • Component General → Bundled Theme
  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → closed
  • Version trunk → 5.3

This is already tracked on #57371.

Note: See TracTickets for help on using tickets.