[buddypress-trac] [BuddyPress] #2956: Use get_template_part instead of locate_template in BP Default

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Dec 18 10:40:02 UTC 2010


#2956: Use get_template_part instead of locate_template in BP Default
--------------------------+-----------------------------
  Reporter:  sorich87     |      Owner:  sorich87
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Milestone:  Awaiting Review
 Component:  Theme        |    Version:  1.3
Resolution:               |   Keywords:
--------------------------+-----------------------------

Comment (by sbrajesh):

 Is there any real benefit of using get_template_part instead of
 locate_template. get_template_part too, does not allow filtering and does
 nothing other than using locate_template.

 Further, It is not flexible enough to allow you load the files from sub
 directory ?

-- 
Ticket URL: <https://trac.buddypress.org/ticket/2956#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list