[buddypress-trac] [BuddyPress Trac] #5552: bp_is_current_component_core() breaks subnav for plugins that register themselves in component array

buddypress-trac noreply at wordpress.org
Wed Aug 13 01:32:18 UTC 2014


#5552: bp_is_current_component_core() breaks subnav for plugins that register
themselves in component array
------------------------------+------------------
 Reporter:  boonebgorges      |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  highest           |   Milestone:  2.1
Component:  Core              |     Version:
 Severity:  major             |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by r-a-y):

 >  In the case of Test1, it seems clear that my intent is to use
 plugins.php, *not* settings.php.

 Ahh, didn't see the `bp_get_template_part( 'members/single/plugins' )`
 call in `members/single/settings.php`.  I see what you're getting at.
 Sorry for the misinterpretation!

 You basically want to drop the middle-man in Test1.  I can see the
 benefits of this for advanced plugins.  Trying to think of a sane way to
 do this without adding a ton more `file_exists()` checks via
 `bp_get_template_part()` :)

 When this is looked at again, could also look at what you mentioned in
 ticket:4855#comment:28.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5552#comment:11>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list