Changeset 34523 for trunk/src/wp-includes/comment-template.php
- Timestamp:
- 09/24/2015 09:32:03 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r34520 r34523 1891 1891 * @since 4.1.0 Introduced the 'class_submit' argument. 1892 1892 * @since 4.2.0 Introduced 'submit_button' and 'submit_fields' arguments. 1893 * @since 4.4.0 Introduced 'title_reply_before' and 'title_reply_after' arguments. 1893 * @since 4.4.0 Introduced 'title_reply_before', 'title_reply_after', 1894 * 'cancel_reply_before', and 'cancel_reply_after' arguments. 1894 1895 * 1895 1896 * @param array $args { … … 1920 1921 * @type string $title_reply_after HTML displayed after the comment form title. 1921 1922 * Default: '</h3>'. 1923 * @type string $cancel_reply_before HTML displayed before the cancel reply link. 1924 * @type string $cancel_reply_after HTML displayed after the cancel reply link. 1922 1925 * @type string $cancel_reply_link The translatable 'cancel reply' button label. Default 'Cancel reply'. 1923 1926 * @type string $label_submit The translatable 'submit' button label. Default 'Post a comment'. … … 1983 1986 'title_reply_before' => '<h3 id="reply-title" class="comment-reply-title">', 1984 1987 'title_reply_after' => '</h3>', 1988 'cancel_reply_before' => ' <small>', 1989 'cancel_reply_after' => '</small>', 1985 1990 'cancel_reply_link' => __( 'Cancel reply' ), 1986 1991 'label_submit' => __( 'Post Comment' ), … … 2019 2024 comment_form_title( $args['title_reply'], $args['title_reply_to'] ); 2020 2025 2021 echo ' <small>';2026 echo $args['cancel_reply_before']; 2022 2027 2023 2028 cancel_comment_reply_link( $args['cancel_reply_link'] ); 2024 2029 2025 echo '</small>';2030 echo $args['cancel_reply_after']; 2026 2031 2027 2032 echo $args['title_reply_after'];
Note: See TracChangeset
for help on using the changeset viewer.