Skip to:

Opened 9 years ago

Closed 9 years ago

#6636 closed enhancement (fixed)

Theme Compat: Add singular.php to list of wrapper template files for BP content

Reported by: mercime's profile mercime Owned by: mercime's profile mercime
Milestone: 2.4 Priority: normal
Severity: normal Version:
Component: Templates Keywords: has-patch commit


BuddyPress pages no longer have any h1 level headings when Twenty Sixteen is activated. This is because the BP components are now wrapped in the theme's index.php which has h2 level heading for content. The page.php file that we're counting on is not available in the theme because Twenty Sixteen uses singular.php (introduced in WP#22314) in lieu of page.php and single.php.

Attached patch adds singular.php to the list of wrappers.

Attachments (1)

6636.patch (354 bytes) - added by mercime 9 years ago.

Download all attachments as: .zip

Change History (3)

9 years ago

#1 @DJPaul
9 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 2.4

Make it so!

#2 @mercime
9 years ago

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

In 10166:

Theme Compat: Add singular.php to list of wrapper templates.

singular.php is a new template file introduced in WP 4.3.0 which
serves as fallback for page.php and single.php.

Fixes #6636.

Note: See TracTickets for help on using tickets.