Skip to:
Content

BuddyPress.org

Changeset 8286


Ignore:
Timestamp:
04/16/2014 04:59:59 PM (12 years ago)
Author:
johnjamesjacoby
Message:

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

File:
1 edited

Legend:

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

    r8274 r8286  
    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>
    647                         <div class="bp-badge"></div>
    648 
    649                         <h2 class="nav-tab-wrapper">
    650                                 <a href="<?php echo esc_url( bp_get_admin_url( add_query_arg( array( 'page' => 'bp-about' ), 'index.php' ) ) ); ?>" class="nav-tab">
    651                                         <?php _e( 'What&#8217;s New', 'buddypress' ); ?>
    652                                 </a><a href="<?php echo esc_url( bp_get_admin_url( add_query_arg( array( 'page' => 'bp-credits' ), 'index.php' ) ) ); ?>" class="nav-tab nav-tab-active">
    653                                         <?php _e( 'Credits', 'buddypress' ); ?>
    654                                 </a>
    655                         </h2>
     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>
    656655
    657656                        <p class="about-description"><?php _e( 'BuddyPress is created by a worldwide network of friendly folks.', 'buddypress' ); ?></p>
Note: See TracChangeset for help on using the changeset viewer.