Changeset 14268 for trunk/wp-includes/comment-template.php
- Timestamp:
- 04/28/2010 04:28:51 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-template.php
r14195 r14268 1516 1516 'cancel_reply_link' => __( 'Cancel reply' ), 1517 1517 'label_submit' => __( 'Post Comment' ), 1518 'echo' => true, 1518 1519 ); 1519 1520 1520 1521 $args = wp_parse_args( $args, apply_filters( 'comment_form_defaults', $defaults ) ); 1521 1522 ob_start(); 1522 1523 ?> 1523 1524 <?php if ( comments_open() ) : ?> … … 1557 1558 <?php else : ?> 1558 1559 <?php do_action( 'comment_form_comments_closed' ); ?> 1559 <?php endif; ?> 1560 <?php 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; 1561 1566 } 1562 1567
Note: See TracChangeset
for help on using the changeset viewer.