WordPress.org

Make WordPress Core

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


Ignore:
Timestamp:
08/24/2015 02:14:27 PM (4 years ago)
Author:
CarlSteffen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16576, comment 9

    v3 v4  
    77Carl
    88
    9 NOTE - the workaround I had to implement was something like this:
     9NOTE - I was able to work around this issue by replacing the comment field with custom HTML that included my input fields.
     10
     11{{{
    1012
    1113        $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);
     
    1618            'comment_field'        =>$commentField,
    1719        );
     20}}}
     21
    1822
    1923where the addMySpecialStuff function was simply appending the HTML I wanted after the comment field and the submit button.