Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #5552, comment 9


Ignore:
Timestamp:
08/12/2014 11:03:59 PM (5 years ago)
Author:
r-a-y
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5552, comment 9

    initial v1  
    1414bp-legacy, then, uses `members/single/plugins.php`, which is used as a [https://buddypress.trac.wordpress.org/browser/tags/2.0.2/bp-templates/bp-legacy/buddypress/members/single/plugins.php template part].
    1515
    16 Whereas for bp-default, plugins.php is a [https://buddypress.trac.wordpress.org/browser/tags/2.0.2/bp-themes/bp-default/members/single/plugins.php full page template].  That's why we call `bp_core_load_template( 'members/single/plugins' )`.  In an ideal world, bp-default's `'members/single/plugins.php'` would be a template part like bp-legacy, then you could use bp_core_load_template( 'members/single/home' ) instead of bp_core_load_template( 'members/single/plugins' ) in plugins.  However, it is what it is I'm afraid.
     16Whereas for bp-default, plugins.php is a [https://buddypress.trac.wordpress.org/browser/tags/2.0.2/bp-themes/bp-default/members/single/plugins.php full page template].  That's why we call `bp_core_load_template( 'members/single/plugins' )`.  In an ideal world, bp-default's `'members/single/plugins.php'` would be a template part like bp-legacy, then you could use `bp_core_load_template( 'members/single/home' )` instead of `bp_core_load_template( 'members/single/plugins' )` in plugins.  However, it is what it is I'm afraid.