Skip to:
Content

BuddyPress.org

Ticket #2301: 2301-1.patch

File 2301-1.patch, 1.4 KB (added by DJPaul, 16 years ago)
  • bp-themes/bp-default/footer.php

     
    77                        <?php get_sidebar( 'footer' ) ?>
    88
    99                        <div id="site-generator" role="contentinfo">
    10                                 <p><?php printf( __( '%s is proudly powered by <a href="http://wordpress.org">WordPress</a> and <a href="http://buddypress.org">BuddyPress</a>', 'buddypress' ), get_bloginfo( 'name', 'display' ) ); ?></p>
     10                                <?php do_action( 'bp_dtheme_credits' ) ?>
    1111                        </div>
    1212
    1313                        <?php do_action( 'bp_footer' ) ?>
  • bp-themes/bp-default/functions.php

     
    433433<?php
    434434}
    435435
     436/**
     437 * A filterable template tag which outputs the footer credits
     438 *
     439 * @since 1.3
     440 */
     441function bp_dtheme_credits() {
     442?>
     443        <p><?php printf( __( 'Proudly powered by <a href="%1$s">WordPress</a>, <a href="%2$s">BuddyPress</a> and <a href="%3$s">bbPress</a>.', 'buddypress' ), 'http://wordpress.org', 'http://buddypress.org', 'http://bbpress.org/' ) ?></p>
     444<?php
     445}
     446add_action( 'bp_dtheme_credits', 'bp_dtheme_credits' );
     447
     448
    436449// Everything beyond this point is deprecated as of BuddyPress 1.3. This will be removed in a future version.
    437450
    438451/**