twentyten argument in comments callback
-
Hi,
I’m going to copy the Twenty Ten theme’s comment callback code lines to use on my own theme’s functions.php but… I’m unable to understand if removing the ‘twentyten’ argument could cause a problem because I just don’t know for which reason it’s used here. Example with the Twenty Ten functions.php:
<div class="comment-author vcard"> <?php echo get_avatar( $comment, 40 ); ?> <?php printf( __( '%s <span class="says">says:</span>', 'twentyten' ), sprintf( '<cite class="fn">%s</cite>', get_comment_author_link() ) ); ?> </div>
So I would like to understand the use of ‘twentyten’ (after “says” span class), and above all I would like to know if I have to replace it with my own theme name, if I have to totally remove it or if it’s needed for the callback function to work.
Any help would be welcome.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘twentyten argument in comments callback’ is closed to new replies.