Changes between Version 2 and Version 3 of Ticket #16576, comment 9
- Timestamp:
- 08/21/2015 05:58:18 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16576, comment 9
v2 v3 9 9 NOTE - the workaround I had to implement was something like this: 10 10 11 $commentField = '<p class="comment-form-comment"><label for="comment">' . _x( 'Comment', 'noun' ) . '</label> <textarea id="comment" name="comment" cols="45" rows="8" aria-required="true" required="required"></textarea></p>'. addMySpecialStuff($post->ID); 12 11 $commentField = '<p class="comment-form-comment"><label for="comment">' . _x( 'Comment', 'noun' ) . '</label> <textarea id="comment" name="comment" cols="45" rows="8" aria-required="true" required="required"></textarea></p>'. addMySpecialStuff($post->ID); 13 12 $comment_args = array( 14 13 'comment_notes_after'=>'', … … 17 16 'comment_field' =>$commentField, 18 17 ); 18 19 19 where the addMySpecialStuff function was simply appending the HTML I wanted after the comment field and the submit button.