Submit button disappeared from Comments

  • Unknown's avatar

    I noticed that after updatre to wp 4.2 the SUBMIT button has disappeared from the Comments section.
    I have deactivated all plugins related to comments, but no success.
    Please help

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    I also have the same problem, but in a wordpress.org website: http://focoempatico.net/

    I customized my comment_form function through the functions.php file but without being anything close to understanding very well what I was doing. But it was working. And I now realize that the latest update to WordPress 4.2 made some changes related to the comment form.So I compared the comment_template.php files from before the upate and after the update, and here is what I found:

    <?php
    						$submit_button = sprintf(
    							$args['submit_button'],
    							esc_attr( $args['name_submit'] ),
    							esc_attr( $args['id_submit'] ),
    							esc_attr( $args['class_submit'] ),
    							esc_attr( $args['label_submit'] )
    						);
    
    						/**
    						 * Filter the submit button for the comment form to display.
    						 *
    						 * @since 4.2.0
    						 *
    						 * @param string $submit_button HTML markup for the submit button.
    						 * @param array  $args          Arguments passed to <code>comment_form()</code>.
    						 */
    						$submit_button = apply_filters( 'comment_form_submit_button', $submit_button, $args );
    
    						$submit_field = sprintf(
    							$args['submit_field'],
    							$submit_button,
    							get_comment_id_fields( $post_id )
    						);
    
    						/**
    						 * Filter the submit field for the comment form to display.
    						 *
    						 * The submit field includes the submit button, hidden fields for the
    						 * comment form, and any wrapper markup.
    						 *
    						 * @since 4.2.0
    						 *
    						 * @param string $submit_field HTML markup for the submit field.
    						 * @param array  $args         Arguments passed to comment_form().
    						 */
    						echo apply_filters( 'comment_form_submit_field', $submit_field, $args );

    Can anyone help us understand this and show how to make the submit button reappear?

  • Unknown's avatar

    Hello there,
    We provide support here only for WordPress.COM hosted blogs. Neither one of those sites above is hosted by wordpress.COM and you are posting to the wrong support forum.

    WordPress.COM and WordPress.ORG are completely separate and have different username accounts, logins, features, run different versions of some themes with the same names, and have separate support documentation and separate support forums. Read the differences here http://en.support.wordpress.com/com-vs-org/

    If you don’t have a username account at WordPress.ORG click http://wordpress.org/support/ and register one on the top right hand corner of the page that opens, so you can post to the support forums there.

    Resetting your WordPress.ORG password http://codex.wordpress.org/Resetting_Your_Password
    WordPress.org support docs are at https://codex.wordpress.org/Main_Page

  • The topic ‘Submit button disappeared from Comments’ is closed to new replies.