Changes between Initial Version and Version 1 of Ticket #1269, comment 14
- Timestamp:
- 12/26/2014 10:18:49 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1269, comment 14
initial v1 1 1 I've been working on adapting every component's template loops (except for the legacy forums one) so that they extend the {{{BP_Template_Loop}}}. 2 2 3 Unlike the previous patches, this time i'm separating unit tests from the patch, because i've used them as a base to check i wasn't breaking anything. So you'll find the unit tests in 1269.unittests.patch.3 Unlike the previous patches, this time i'm separating unit tests from the patch, because i've used them as a base to check i wasn't breaking anything. So you'll find the unit tests in [https://buddypress.trac.wordpress.org/attachment/ticket/1269/1269.unittests.patch 1269.unittests.patch]. 4 4 5 You'll see in 1269.03.patchthat some components use a very specific logic for their loops (the group invite one for instance), but the more complicated was the xProfile one. Actually {{{BP_XProfile_Data_Template}}} is somehow doing 2 loops in one (groups and fields). So i've chosen to split them :5 You'll see in [https://buddypress.trac.wordpress.org/attachment/ticket/1269/1269.03.patch 1269.03.patch] that some components use a very specific logic for their loops (the group invite one for instance), but the more complicated was the xProfile one. Actually {{{BP_XProfile_Data_Template}}} is somehow doing 2 loops in one (groups and fields). So i've chosen to split them : 6 6 - {{{BP_XProfile_Data_Template}}} is mainly taking care of profile field groups 7 7 - a new class {{{BP_XProfile_Fields_Template}}} is looping fields.