Skip to:
Content

BuddyPress.org

Changeset 3944


Ignore:
Timestamp:
01/27/2011 05:49:50 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Register the theme directory at runtime and not on init action to avoid conflicts with dependent plugins

Location:
trunk/bp-core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-bootstrap.php

    r3931 r3944  
    11<?php
     2
     3// Setup the BuddyPress theme directory
     4register_theme_directory( WP_PLUGIN_DIR . '/buddypress/bp-themes' );
    25
    36// Test to see whether this is a new installation or an upgraded version of BuddyPress
  • trunk/bp-core/bp-core-loader.php

    r3917 r3944  
    3636    function _setup_globals() {
    3737        global $bp, $bp_pages;
    38 
    39         // Setup the BuddyPress theme directory
    40         register_theme_directory( WP_PLUGIN_DIR . '/buddypress/bp-themes' );
    4138
    4239        // Get the base database prefix
Note: See TracChangeset for help on using the changeset viewer.