Skip to:
Content

BuddyPress.org

Changeset 940


Ignore:
Timestamp:
01/28/2009 03:00:17 AM (18 years ago)
Author:
apeatling
Message:

Moved installed component version numbers to admin page.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core.php

    r938 r940  
    12611261        global $bp;
    12621262       
    1263         echo '
    1264        
    1265         <!--
    1266         ';
    1267         echo ' BuddyPress:
    1268          -------------
    1269         ';
    12701263        foreach ( $bp['version_numbers'] as $name => $version ) {
    1271         echo ' ' . ucwords($name) . ': ' . $version . '
    1272         ';
    1273         }
    1274         echo '-->
    1275        
    1276         ';
    1277 }
    1278 add_action( 'wp_footer', 'bp_core_print_version_numbers', 9 );
     1264                echo ucwords($name) . ': <b>' . $version . '</b> / ';
     1265        }
     1266}
    12791267
    12801268function bp_core_print_generation_time() {
  • trunk/bp-core/bp-core-admin.php

    r805 r940  
    106106                                <input type="submit" name="bp-admin-submit" id="bp-admin-submit" value="<?php _e( 'Save Settings', 'buddypress' ) ?>"/>
    107107                        </p>
     108                       
     109                        <h4><?php _e( 'BuddyPress Version Numbers', 'buddypress' ) ?></h4>
     110                       
     111                        <?php bp_core_print_version_numbers() ?>
    108112               
    109113                        <?php wp_nonce_field( 'bp-admin') ?>
Note: See TracChangeset for help on using the changeset viewer.