[buddypress-trac] [BuddyPress Trac] #7116: Move asset template parts away from bp-legacy
buddypress-trac
noreply at wordpress.org
Sat Jun 11 19:19:40 UTC 2016
#7116: Move asset template parts away from bp-legacy
--------------------------------+-----------------------------
Reporter: r-a-y | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: API - Theme Compat | Version:
Severity: normal | Keywords: has-patch
--------------------------------+-----------------------------
As evidenced in #7115, I think we shouldn't introduce new template
functionality directly into a template pack, but rather we should have
default template parts and allow template packs to override these template
parts if necessary.
Attached patch is an example that moves activity embed template parts from
`/bp-templates/bp-legacy/buddypress/assets/embeds/` to `/bp-
templates/assets/embeds/`.
If we like this approach, we can do the same for emails and attachments.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7116>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list