Changes between Initial Version and Version 1 of Ticket #7104, comment 3
- Timestamp:
- 06/01/2016 04:36:51 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7104, comment 3
initial v1 7 7 Initially, 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. 8 8 9 So `css.patch`is what I originally envisioned for locating and loading assets. It introduces two functions:9 So attachment:7104.css.patch is what I originally envisioned for locating and loading assets. It introduces two functions: 10 10 - `bp_locate_template_asset()` - which is almost exactly like `bp_locate_template()` 11 11 - `bp_get_template_asset()` - which is almost exactly like `bp_get_template_part()`