Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #7104, comment 3


Ignore:
Timestamp:
06/01/2016 04:36:51 PM (3 years ago)
Author:
r-a-y
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7104, comment 3

    initial v1  
    77Initially, it's because we did not have dedicated functions to locate and load assets in Core, so I kind of hacked my way around by using a template part.  On hindsight, this is bad and breaks theme developer conventions.
    88
    9 So `css.patch` is what I originally envisioned for locating and loading assets.  It introduces two functions:
     9So attachment:7104.css.patch is what I originally envisioned for locating and loading assets.  It introduces two functions:
    1010- `bp_locate_template_asset()` - which is almost exactly like `bp_locate_template()`
    1111- `bp_get_template_asset()` - which is almost exactly like `bp_get_template_part()`