WordPress.org

Make WordPress Core

Opened 9 months ago

Closed 9 months ago

#39590 closed enhancement (fixed)

Twenty Seventeen: Duplication of `global $post;`

Reported by: ixkaito Owned by: SergeyBiryukov
Milestone: 4.8 Priority: normal
Severity: normal Version: 4.7
Component: Bundled Theme Keywords: has-patch
Focuses: template Cc:

Description

Duplication of global $post; in Twenty Seventeen.

Attachments (1)

39590.diff (573 bytes) - added by ixkaito 9 months ago.

Download all attachments as: .zip

Change History (3)

@ixkaito
9 months ago

#1 @SergeyBiryukov
9 months ago

  • Component changed from Themes to Bundled Theme
  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 4.8
  • Summary changed from Duplication of `global $post;` in Twenty Seventeen to Twenty Seventeen: Duplication of `global $post;`

#2 @SergeyBiryukov
9 months ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 39909:

Twenty Seventeen: Remove duplicate global $post declaration in twentyseventeen_front_page_section().

Props ixkaito.
Fixes #39590.

Note: See TracTickets for help on using tickets.