[buddypress-trac] [BuddyPress Trac] #7672: Moved shared template pack assets into new folder

buddypress-trac noreply at wordpress.org
Mon Jan 29 00:32:16 UTC 2018


#7672: Moved shared template pack assets into new folder
-------------------------+----------------------------------
 Reporter:  DJPaul       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Under Consideration
Component:  Templates    |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+----------------------------------
Description changed by DJPaul:

Old description:

> In Nouveau and Legacy, there exist subfolders
> `[pack]/buddypress/assets/`, containing templates for emails,
> "attachments" (avatar upload templates/cover images), and oEmbeds. I need
> to triple check, but I believe these template are identical between
> Nouveau and Legacy, and duplicating them doesn't seem to have any
> benefit.
>
> I propose these are moved into a new `bp-templates/shared/` folder. We
> can register the new location in the `register_theme_packages()` method
> with `bp_register_template_stack()` in such a way that this change is
> transparent and 100% compatible with all existing themes and any custom
> template packs/

New description:

 In Nouveau and Legacy, there exist subfolders `[pack]/buddypress/assets/`,
 containing templates for emails, "attachments" (avatar upload
 templates/cover images), and oEmbeds. I need to triple check, but I
 believe these template are identical between Nouveau and Legacy, and
 duplicating them doesn't seem to have any benefit.

 I propose these are moved into a new `bp-templates/shared/` folder. We can
 register the new location in the `register_theme_packages()` method with
 `bp_register_template_stack()` in such a way that this change is
 transparent and 100% compatible with all existing themes and any custom
 template packs.

--

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7672#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list