[buddypress-trac] [BuddyPress Trac] #6769: BP Users front.php
buddypress-trac
noreply at wordpress.org
Fri May 13 11:51:59 UTC 2016
#6769: BP Users front.php
-----------------------------------------+------------------
Reporter: hnla | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.6
Component: Appearance - Template Parts | Version:
Severity: normal | Resolution:
Keywords: has-patch |
-----------------------------------------+------------------
Comment (by imath):
@DJPaul This change will not add a new template. The user's theme needs to
include a `members/single/front.php` to customize the home page for
members.
About backcompat, there's a little change inside the
`members/single/home.php`. If the overridden template has not been updated
to take this change in account, the `members/single/plugins.php` template
will be used instead of the expected front.php one.
I think it should be ok, but if we want to make sure even with an outdated
`members/single/home.php` the front.php template is loaded, we could use
the `bp_members_front_template_backcompat()` function i've added to
03.patch.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6769#comment:15>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list