Skip to:
Content

BuddyPress.org

Ticket #3704: filter_buddypress_credit.patch

File filter_buddypress_credit.patch, 868 bytes (added by chmac, 13 years ago)

Wrap the footer credit in apply_filters()

  • bp-themes/bp-default/footer.php

     
    1212
    1313                        <div id="site-generator" role="contentinfo">
    1414                                <?php do_action( 'bp_dtheme_credits' ) ?>
    15                                 <p><?php printf( __( 'Proudly powered by <a href="%1$s">WordPress</a> and <a href="%2$s">BuddyPress</a>.', 'buddypress' ), 'http://wordpress.org', 'http://buddypress.org' ) ?></p>
     15                                <p><?php echo apply_filters( 'bp_footer_credit', sprintf( __( 'Proudly powered by <a href="%1$s">WordPress</a> and <a href="%2$s">BuddyPress</a>.', 'buddypress' ), 'http://wordpress.org', 'http://buddypress.org' ) ) ?></p>
    1616                        </div>
    1717
    1818                        <?php do_action( 'bp_footer' ) ?>
     
    2424
    2525        </body>
    2626
    27 </html>
    28  No newline at end of file
     27</html>