Make WordPress Core


Ignore:
Timestamp:
10/28/2010 09:56:43 PM (14 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.php

    r15843 r16061  
    9090<p><textarea name="comment" id="comment" cols="58" rows="10" tabindex="4"></textarea></p>
    9191
    92 <p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php _e('Submit Comment'); ?>" />
     92<p><?php submit_button( __( 'Submit Comment' ), '', 'submit', false, array( 'tabindex' => '5' ) ); ?>
    9393<?php comment_id_fields(); ?>
    9494</p>
Note: See TracChangeset for help on using the changeset viewer.