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

git-svn-id: http://svn.automattic.com/wordpress/trunk@16061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith
2010-10-28 21:56:43 +00:00
parent 15b56af964
commit fc6e89da45
56 changed files with 197 additions and 164 deletions

View File

@@ -180,7 +180,7 @@ if ( $comment->comment_approved != '0' ) { // if not unapproved
<table width="100%">
<tr>
<td><a class="button" href="<?php echo admin_url('edit-comments.php'); ?>"><?php esc_attr_e('No'); ?></a></td>
<td class="textright"><input type='submit' class="button" value='<?php echo esc_attr($button); ?>' /></td>
<td class="textright"><?php submit_button( $button, 'button' ); ?></td>
</tr>
</table>