[buddypress-trac] [BuddyPress] #4755: Address usage of bp_locate_template()

buddypress-trac noreply at wordpress.org
Fri Jan 18 07:52:21 UTC 2013


#4755: Address usage of bp_locate_template()
------------------------------------+------------------
 Reporter:  r-a-y                   |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  1.7
Component:  Core                    |     Version:  1.7
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+------------------

Comment (by r-a-y):

 > As for (b), if we're really concerned about redundancy, then we should
 remove the filter in bp_get_template_part() and reinstate the filter in
 bp_locate_template(). Then we'd only have to run
 bp_add_template_locations() in one place, at the very end of the process.

 I don't mind this approach as we should only run
 `bp_add_template_locations()` once.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4755#comment:6>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list