Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #1269, comment 14


Ignore:
Timestamp:
12/26/2014 10:18:49 PM (10 years ago)
Author:
imath
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1269, comment 14

    initial v1  
    11I've been working on adapting every component's template loops (except for the legacy forums one) so that they extend the {{{BP_Template_Loop}}}.
    22
    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.
     3Unlike 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].
    44
    5 You'll see in 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 :
     5You'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 :
    66- {{{BP_XProfile_Data_Template}}} is mainly taking care of profile field groups
    77- a new class {{{BP_XProfile_Fields_Template}}} is looping fields.