Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #16576, comment 9


Ignore:
Timestamp:
08/21/2015 05:57:04 PM (10 years ago)
Author:
CarlSteffen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16576, comment 9

    v1 v2  
    66
    77Carl
     8
     9NOTE - the workaround I had to implement was something like this:
     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       
     13        $comment_args = array(
     14            'comment_notes_after'=>'',
     15            'logged_in_as'=>'',
     16            'title_reply'=>'',
     17            'comment_field'        =>$commentField,
     18        );
     19where the addMySpecialStuff function was simply appending the HTML I wanted after the comment field and the submit button.