Skip to:
Content

BuddyPress.org

Ticket #2945: 2945.004.diff

File 2945.004.diff, 2.1 KB (added by cnorris23, 13 years ago)
  • bp-core/admin/bp-core-update.php

     
    253253        function step_components() {
    254254
    255255                if ( !function_exists( 'bp_core_admin_components_options' ) )
    256                         require ( WP_PLUGIN_DIR . '/buddypress/bp-core/admin/bp-core-components.php' ); ?>
     256                        require ( BP_PLUGIN_DIR . 'bp-core/admin/bp-core-components.php' ); ?>
    257257
    258258                <p><?php _e( "BuddyPress bundles several individual social components together, each one adding a distinct feature. This first step decides which features are enabled on your site; all features are enabled by default. Don't worry, you can change your mind at any point in the future.", 'buddypress' ); ?></p>
    259259
     
    515515        }
    516516
    517517        function step_theme() {
     518                global $bp;
    518519
    519520                $installed_plugins = get_plugins();
    520521
     
    571572                        <tr>
    572573                                <th>
    573574                                        <h5><?php _e( 'Use BuddyPress Default', 'buddypress' ); ?></h5>
    574                                         <img src="<?php echo plugins_url( '/buddypress/bp-themes/bp-default/screenshot.png' ); ?>" alt="<?php _e( 'BuddyPress Default', 'buddypress' ); ?>" />
     575                                        <img src="<?php echo plugins_url( 'bp-themes/bp-default/screenshot.png', $bp->file ); ?>" alt="<?php _e( 'BuddyPress Default', 'buddypress' ); ?>" />
    575576                                </th>
    576577                                <td>
    577578                                        <p><?php _e( 'The default BuddyPress theme comes with the basics, to get up and running out of the box. It supports all features and is highly customizable.', 'buddypress' ); ?></p>
     
    585586                                <tr>
    586587                                        <th>
    587588                                                <h5><?php _e( 'Other themes', 'buddypress' ); ?></h5>
    588                                                 <img src="<?php echo plugins_url( '/buddypress/bp-core/admin/images/find.png' ); ?>" alt="<?php _e( 'A BuddyPress theme', 'buddypress' ); ?>" />
     589                                                <img src="<?php echo plugins_url( 'bp-core/admin/images/find.png', $bp->file ); ?>" alt="<?php _e( 'A BuddyPress theme', 'buddypress' ); ?>" />
    589590                                        </th>
    590591                                        <td>
    591592                                                <p><?php _e( "You have some other BuddyPress compatible themes available. Pick one of them from this list to use it.", 'buddypress' ); ?></p>