Ticket #2945: 2945.004.diff
File 2945.004.diff, 2.1 KB (added by , 13 years ago) |
---|
-
bp-core/admin/bp-core-update.php
253 253 function step_components() { 254 254 255 255 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' ); ?> 257 257 258 258 <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> 259 259 … … 515 515 } 516 516 517 517 function step_theme() { 518 global $bp; 518 519 519 520 $installed_plugins = get_plugins(); 520 521 … … 571 572 <tr> 572 573 <th> 573 574 <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' ); ?>" /> 575 576 </th> 576 577 <td> 577 578 <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> … … 585 586 <tr> 586 587 <th> 587 588 <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' ); ?>" /> 589 590 </th> 590 591 <td> 591 592 <p><?php _e( "You have some other BuddyPress compatible themes available. Pick one of them from this list to use it.", 'buddypress' ); ?></p>