Changeset 43571 for trunk/src/wp-content/themes/twentyten/functions.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyten/functions.php
r42343 r43571 101 101 // This theme allows users to set a custom background. 102 102 add_theme_support( 103 'custom-background', array( 103 'custom-background', 104 array( 104 105 // Let WordPress know what our default background color is. 105 106 'default-color' => 'f1f1f1', … … 227 228 */ 228 229 function twentyten_admin_header_style() { 229 ?>230 ?> 230 231 <style type="text/css" id="twentyten-admin-header-css"> 231 232 /* Shows the same border as on front end */ … … 239 240 */ 240 241 </style> 241 <?php242 <?php 242 243 } 243 244 endif; … … 378 379 switch ( $comment->comment_type ) : 379 380 case '': 380 ?>381 ?> 381 382 <li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?>"> 382 383 <div id="comment-<?php comment_ID(); ?>"> … … 385 386 <?php printf( __( '%s <span class="says">says:</span>', 'twentyten' ), sprintf( '<cite class="fn">%s</cite>', get_comment_author_link() ) ); ?> 386 387 </div><!-- .comment-author .vcard --> 387 <?php if ( $comment->comment_approved == '0' ) : ?>388 <?php if ( $comment->comment_approved == '0' ) : ?> 388 389 <em class="comment-awaiting-moderation"><?php _e( 'Your comment is awaiting moderation.', 'twentyten' ); ?></em> 389 390 <br /> … … 394 395 /* translators: 1: date, 2: time */ 395 396 printf( __( '%1$s at %2$s', 'twentyten' ), get_comment_date(), get_comment_time() ); 396 397 ?> 397 398 </a> 398 399 <?php 399 400 edit_comment_link( __( '(Edit)', 'twentyten' ), ' ' ); 400 ?>401 ?> 401 402 </div><!-- .comment-meta .commentmetadata --> 402 403 … … 407 408 comment_reply_link( 408 409 array_merge( 409 $args, array( 410 $args, 411 array( 410 412 'depth' => $depth, 411 413 'max_depth' => $args['max_depth'], … … 413 415 ) 414 416 ); 415 ?>417 ?> 416 418 </div><!-- .reply --> 417 419 </div><!-- #comment-## --> 418 420 419 <?php421 <?php 420 422 break; 421 423 case 'pingback': 422 424 case 'trackback': 423 ?>425 ?> 424 426 <li class="post pingback"> 425 427 <p><?php _e( 'Pingback:', 'twentyten' ); ?> <?php comment_author_link(); ?><?php edit_comment_link( __( '(Edit)', 'twentyten' ), ' ' ); ?></p> 426 <?php428 <?php 427 429 break; 428 430 endswitch;
Note: See TracChangeset
for help on using the changeset viewer.