[buddypress-trac] [BuddyPress] #4855: Method to override a plugins use of plugins.php or add filters to bp_template_title and bp_template_content

buddypress-trac noreply at wordpress.org
Tue Mar 5 19:55:32 UTC 2013


#4855: Method to override a plugins use of plugins.php or add filters to
bp_template_title and bp_template_content
-------------------------------+-----------------------------
 Reporter:  modemlooper        |       Owner:
     Type:  enhancement        |      Status:  reopened
 Priority:  normal             |   Milestone:  Future Release
Component:  Core               |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+-----------------------------

Comment (by r-a-y):

 > If I wanted to replace activity.php I should use plugins.php to preserve
 theme structure.

 activity.php is called from /members/single/home.php.  So isn't that the
 file you need to adjust?

 > I have 6 plugins I use that are broken because they supply templates and
 do not use plugins.php.

 This is indeed the problem; a lot of old plugins are going to have this
 issue.

 I just took a look at BP Album and it looks like this is the problem:
 https://github.com/BP-Media/bp-
 album/blob/master/includes/bpa.core.php#L356

 I'm working on a similar problem with BP Followers and am working on a
 solution to maintain backpat and be future-forward with theme compat.
 I'll share that solution to everyone once I've finished testing.  It looks
 like this is going to be quite easy to fix.

 So I'm going to say that this is a dev awareness issue that devs will need
 to address for 1.7.  Adding another template part inside plugins.php is
 only going to complicate matters.

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


More information about the buddypress-trac mailing list