Changeset 34871
- Timestamp:
- 10/06/2015 05:16:09 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r34792 r34871 2003 2003 * @since 3.0.0 2004 2004 * @since 4.1.0 Introduced the 'class_submit' argument. 2005 * @since 4.2.0 Introduced 'submit_button' and 'submit_fields' arguments.2006 * @since 4.4.0 Introduced 'title_reply_before', 'title_reply_after',2005 * @since 4.2.0 Introduced the 'submit_button' and 'submit_fields' arguments. 2006 * @since 4.4.0 Introduced the 'class_form', 'title_reply_before', 'title_reply_after', 2007 2007 * 'cancel_reply_before', and 'cancel_reply_after' arguments. 2008 2008 * … … 2025 2025 * @type string $id_form The comment form element id attribute. Default 'commentform'. 2026 2026 * @type string $id_submit The comment submit element id attribute. Default 'submit'. 2027 * @type string $class_form The comment form element class attribute. Default 'comment-form'. 2027 2028 * @type string $class_submit The comment submit element class attribute. Default 'submit'. 2028 2029 * @type string $name_submit The comment submit element name attribute. Default 'submit'. … … 2093 2094 'id_form' => 'commentform', 2094 2095 'id_submit' => 'submit', 2096 'class_form' => 'comment-form', 2095 2097 'class_submit' => 'submit', 2096 2098 'name_submit' => 'submit', … … 2154 2156 do_action( 'comment_form_must_log_in_after' ); 2155 2157 else : ?> 2156 <form action="<?php echo site_url( '/wp-comments-post.php' ); ?>" method="post" id="<?php echo esc_attr( $args['id_form'] ); ?>" class=" comment-form"<?php echo $html5 ? ' novalidate' : ''; ?>>2158 <form action="<?php echo site_url( '/wp-comments-post.php' ); ?>" method="post" id="<?php echo esc_attr( $args['id_form'] ); ?>" class="<?php echo esc_attr( $args['class_form'] ); ?>"<?php echo $html5 ? ' novalidate' : ''; ?>> 2157 2159 <?php 2158 2160 /**
Note: See TracChangeset
for help on using the changeset viewer.