WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/17/2010 06:24:34 PM (11 years ago)
Author:
scribu
Message:

Use submit_button() in more places. See #15064

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/dashboard.php

    r15746 r15830  
    153153    echo '<form action="" method="post" class="dashboard-widget-control-form">';
    154154    wp_dashboard_trigger_widget_control( $meta_box['id'] );
    155     echo '<p class="submit"><input type="hidden" name="widget_id" value="' . esc_attr($meta_box['id']) . '" /><input type="submit" value="' . esc_attr__( 'Submit' ) . '" /></p>';
    156 
     155    echo '<input type="hidden" name="widget_id" value="' . esc_attr($meta_box['id']) . '" />';
     156    submit_button( __('Submit') );
    157157    echo '</form>';
    158158}
Note: See TracChangeset for help on using the changeset viewer.