Changeset 6239
- Timestamp:
- 08/07/2012 05:55:17 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-update.php
r6169 r6239 131 131 if ( ! bp_current_user_can( 'activate_plugins' ) ) 132 132 wp_die( 'You do not have sufficient permissions to access this page.' ); 133 134 // Update or Setup135 $type = ( 'update' == bp_get_maintenance_mode() ) ? __( 'Update', 'buddypress' ) : __( 'Setup', 'buddypress' );136 137 133 ?> 138 134 … … 141 137 <?php screen_icon( 'buddypress' ); ?> 142 138 143 <h2><?php printf( __( 'BuddyPress %s', 'buddypress' ), $type ); ?></h2> 139 <h2> 140 <?php 141 if ( 'update' == bp_get_maintenance_mode() ) 142 _e( 'BuddyPress Update', 'buddypress' ); 143 else 144 _e( 'BuddyPress Setup', 'buddypress' ); 145 ?> 146 </h2> 144 147 145 148 <?php … … 683 686 684 687 function step_finish() { 685 686 // What type of action is happening here? 687 $type = ( bp_get_maintenance_mode() == 'install' ) ? __( 'setup', 'buddypress' ) : __( 'update', 'buddypress' ); ?> 688 689 <p><?php printf( __( "The BuddyPress %1\$s is complete, and your site is ready to go!", 'buddypress' ), $type ); ?></p> 688 ?> 689 <p> 690 <?php 691 if ( 'update' == bp_get_maintenance_mode() ) 692 _e( "The BuddyPress update is complete, and your site is ready to go!", 'buddypress' ); 693 else 694 _e( "The BuddyPress setup is complete, and your site is ready to go!", 'buddypress' ); 695 ?> 696 </p> 690 697 691 698 <div class="submit clear">
Note: See TracChangeset
for help on using the changeset viewer.