Changeset 14274 for trunk/wp-includes/comment-template.php
- Timestamp:
- 04/28/2010 07:17:20 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-template.php
r14268 r14274 1516 1516 'cancel_reply_link' => __( 'Cancel reply' ), 1517 1517 'label_submit' => __( 'Post Comment' ), 1518 'echo' => true,1519 1518 ); 1520 1519 1521 1520 $args = wp_parse_args( $args, apply_filters( 'comment_form_defaults', $defaults ) ); 1522 ob_start(); 1521 1523 1522 ?> 1524 1523 <?php if ( comments_open() ) : ?> … … 1558 1557 <?php else : ?> 1559 1558 <?php do_action( 'comment_form_comments_closed' ); ?> 1560 <?php endif; 1561 $form = apply_filters( 'comment_form_output', ob_get_clean(), $args ); 1562 if ( $args['echo'] ) 1563 echo $form; 1564 else 1565 return $form; 1559 <?php endif; ?> 1560 <?php 1566 1561 } 1567 1562
Note: See TracChangeset
for help on using the changeset viewer.