Make WordPress Core

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


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16576, comment 9

    v2 v3  
    99NOTE - the workaround I had to implement was something like this:
    1010
    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);
    1312        $comment_args = array(
    1413            'comment_notes_after'=>'',
     
    1716            'comment_field'        =>$commentField,
    1817        );
     18
    1919where the addMySpecialStuff function was simply appending the HTML I wanted after the comment field and the submit button.