[buddypress-trac] [BuddyPress] #4879: add_theme_support( 'buddypress' ) should not load buddypress-functions.php

buddypress-trac noreply at wordpress.org
Fri Oct 11 19:03:49 UTC 2013


#4879: add_theme_support( 'buddypress' ) should not load buddypress-functions.php
-------------------------------------+------------------
 Reporter:  modemlooper              |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  1.9
Component:  Backwards Compatability  |     Version:  1.7
 Severity:  major                    |  Resolution:
 Keywords:  needs-testing has-patch  |
-------------------------------------+------------------

Comment (by r-a-y):

 Nice changes in the function naming, Boone!

 I think hooking into `bp_theme_compat_reset_post()` might even be too
 late.  Dong the check there assumes that this function is called and
 hooked on the `'bp_template_include_reset_dummy_post_data'` action.

 Might be better to add the `bp_use_theme_compat_with_current_theme()`
 check at the beginning of `bp_template_include_theme_compat()`.

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


More information about the buddypress-trac mailing list