Make WordPress Core

Ticket #12804: footer.php.diff

File footer.php.diff, 856 bytes (added by nathanrice, 16 years ago)

Use an action instead of a filter

  • footer.php

     
    2323                        </div>
    2424
    2525                        <div id="site-generator">
    26                                 <?php printf( __( 'Proudly powered by <span id="generator-link">%s</span>.', 'twentyten' ), '<a href="http://wordpress.org/" title="' . esc_attr__( 'Semantic Personal Publishing Platform', 'twentyten' ) . '" rel="generator">' . __( 'WordPress', 'twentyten' ) . '</a>' ); ?>
     26                                <?php
     27                                do_action('twentyten_credits');
     28                                printf( __( 'Proudly powered by <span id="generator-link">%s</span>.', 'twentyten' ), '<a href="http://wordpress.org/" title="' . esc_attr__( 'Semantic Personal Publishing Platform', 'twentyten' ) . '" rel="generator">' . __( 'WordPress', 'twentyten' ) . '</a>' );
     29                                ?>
    2730                        </div>
    2831
    2932                </div><!-- #colophon -->