[buddypress-trac] [BuddyPress Trac] #6065: Add support for WordPress Page templates
buddypress-trac
noreply at wordpress.org
Wed Jan 21 19:31:58 UTC 2015
#6065: Add support for WordPress Page templates
------------------------------------+---------------------
Reporter: DJPaul | Owner: djpaul
Type: enhancement | Status: closed
Priority: normal | Milestone: 2.2
Component: Theme / Template Parts | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch |
------------------------------------+---------------------
Changes (by johnjamesjacoby):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"9389"]:
{{{
#!CommitTicketReference repository="" revision="9389"
Introduce `bp_theme_compat_page_templates()` for determining if a
directory page template is available as an override for the theme
compatibility template hierarchy.
This fixes a fatal PHP error when the results of
`get_page_template_slug()` do not match an available template for the
currently active parent or child themes, causing that directory page to
have no fallback template (and consequently `template_include` to receive
an empty array.)
Fixes #6065.
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6065#comment:20>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list