Skip to:
Content

BuddyPress.org

Changeset 3451


Ignore:
Timestamp:
11/19/2010 07:57:27 PM (15 years ago)
Author:
djpaul
Message:

Remove function_exists() checks for register_theme_directory(), which was introduced in WP 2.9. BP has required WP 3.0+ for a long time now.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core.php

    r3443 r3451  
    4444
    4545/* Register BuddyPress themes contained within the bp-theme folder */
    46 if ( function_exists( 'register_theme_directory') )
    47     register_theme_directory( WP_PLUGIN_DIR . '/buddypress/bp-themes' );
     46register_theme_directory( WP_PLUGIN_DIR . '/buddypress/bp-themes' );
    4847
    4948
  • trunk/bp-core/admin/bp-core-upgrade.php

    r3358 r3451  
    33require_once( dirname( dirname( __FILE__ ) ) . '/bp-core-wpabstraction.php' );
    44
    5 if ( function_exists( 'register_theme_directory') )
    6     register_theme_directory( WP_PLUGIN_DIR . '/buddypress/bp-themes' );
     5register_theme_directory( WP_PLUGIN_DIR . '/buddypress/bp-themes' );
    76
    87class BP_Core_Setup_Wizard {
Note: See TracChangeset for help on using the changeset viewer.