[buddypress-trac] [BuddyPress] #2198: bp_core_load_template does not load plugin's sub-templates

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Mar 15 22:55:25 UTC 2010


#2198: bp_core_load_template does not load plugin's sub-templates
--------------------+-------------------------------------------------------
 Reporter:  DJPaul  |       Owner:  DJPaul
     Type:  defect  |      Status:  new   
 Priority:  minor   |   Milestone:  1.2.3 
Component:  Core    |    Keywords:        
--------------------+-------------------------------------------------------

Comment(by MrMaz):

 Its my understanding that bp_core_load_template() was not intended for
 sub-templates.  I believe that all of the core templates use
 locate_template() to load sub-templates.

 I wrote my own custom locate_template method to check the plugin path
 instead of the template path, which does not rely on any of the catch uri
 stuff.

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


More information about the buddypress-trac mailing list