Skip to:
Content

BuddyPress.org

Changeset 8285


Ignore:
Timestamp:
04/16/2014 04:58:00 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Make about-text in credits screen match about-text in welcome screen. Props paulgibbs. (2.0 branch)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/bp-core/bp-core-admin.php

    r8274 r8285  
    640640        public function credits_screen() {
    641641
     642                $is_new_install = ! empty( $_GET['is_new_install'] );
     643
    642644                list( $display_version ) = explode( '-', bp_get_version() ); ?>
    643645
    644646                <div class="wrap about-wrap">
    645647                        <h1><?php printf( __( 'Welcome to BuddyPress %s', 'buddypress' ), $display_version ); ?></h1>
    646                         <div class="about-text"><?php printf( __( 'BuddyPress %s is our first version with a new component in over two years. Not only that, there are plenty of new features, enhancements, and bug fixes.', 'buddypress' ), $display_version ); ?></div>
     648                        <div class="about-text">
     649                                <?php if ( $is_new_install ) : ?>
     650                                        <?php printf( __( 'It&#8217;s a great time to use BuddyPress! With a focus on speed, admin tools, and developer enhancements, %s is our leanest and most powerful version yet.', 'buddypress' ), $display_version ); ?>
     651                                <?php else : ?>
     652                                        <?php printf( __( 'Thanks for updating! With a focus on speed, admin tools, and developer enhancements, BuddyPress %s is our leanest and most powerful version yet.', 'buddypress' ), $display_version ); ?>
     653                                <?php endif; ?>
     654                        </div>
     655
    647656                        <div class="bp-badge"></div>
    648657
Note: See TracChangeset for help on using the changeset viewer.