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

buddypress-trac noreply at wordpress.org
Sat Aug 17 10:14:37 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:  2nd-opinion needs-testing  |
---------------------------------------+------------------

Comment (by hnla):

 I opened a ticket on the add_theme_support issue @ #5142. As JJJ surmises
 it looks essentially to be a load order issue, if
 add_theme_support('buddypress') is correctly hooked on 'after_setup_theme'
 then class BP_Theme_compat will not bail as it  ? runs too early to read
 add_theme_support - move add_theme_support out of any hook and the BP
 class now gets the value and does bail.

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


More information about the buddypress-trac mailing list