WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/28/2010 09:56:43 PM (9 years ago)
Author:
markjaquith
Message:

Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/theme-compat/comments-popup.php

    r15843 r16061  
    9696      <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
    9797      <input type="hidden" name="redirect_to" value="<?php echo esc_attr($_SERVER["REQUEST_URI"]); ?>" />
    98       <input name="submit" type="submit" tabindex="5" value="<?php _e('Say It!' ); ?>" />
     98      <?php submit_button( __( 'Say It!' ), '', 'submit', false, array( 'tabindex' => '5' ) ); ?>
    9999    </p>
    100100    <?php do_action('comment_form', $post->ID); ?>
Note: See TracChangeset for help on using the changeset viewer.