Changeset 48393
- Timestamp:
- 07/07/2020 06:27:03 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r48140 r48393 2238 2238 * @since 4.6.0 Introduced the 'action' argument. 2239 2239 * @since 4.9.6 Introduced the 'cookies' default comment field. 2240 * @since 5.5.0 Introduced the 'class_container' argument. 2240 2241 * 2241 2242 * @param array $args { … … 2260 2261 * @type string $id_form The comment form element id attribute. Default 'commentform'. 2261 2262 * @type string $id_submit The comment submit element id attribute. Default 'submit'. 2263 * @type string $class_container The comment form container class attribute. Default 'comment-respond'. 2262 2264 * @type string $class_form The comment form element class attribute. Default 'comment-form'. 2263 2265 * @type string $class_submit The comment submit element class attribute. Default 'submit'. … … 2435 2437 'id_form' => 'commentform', 2436 2438 'id_submit' => 'submit', 2439 'class_container' => 'comment-respond', 2437 2440 'class_form' => 'comment-form', 2438 2441 'class_submit' => 'submit', … … 2482 2485 do_action( 'comment_form_before' ); 2483 2486 ?> 2484 <div id="respond" class=" comment-respond">2487 <div id="respond" class="<?php echo esc_attr( $args['class_container'] ); ?>"> 2485 2488 <?php 2486 2489 echo $args['title_reply_before'];
Note: See TracChangeset
for help on using the changeset viewer.