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-admin/comment.php

    r15674 r16061  
    181181<tr>
    182182<td><a class="button" href="<?php echo admin_url('edit-comments.php'); ?>"><?php esc_attr_e('No'); ?></a></td>
    183 <td class="textright"><input type='submit' class="button" value='<?php echo esc_attr($button); ?>' /></td>
     183<td class="textright"><?php submit_button( $button, 'button' ); ?></td>
    184184</tr>
    185185</table>
Note: See TracChangeset for help on using the changeset viewer.