WordPress.org

Make WordPress Core

Ticket #7854: dashboard-r9108.patch

File dashboard-r9108.patch, 725 bytes (added by rnt, 7 years ago)
  • wp-admin/includes/dashboard.php

     
    117117function _wp_dashboard_control_callback( $dashboard, $meta_box ) { 
    118118        echo '<form action="" method="post">'; 
    119119        wp_dashboard_trigger_widget_control( $meta_box['id'] ); 
    120         echo "<p class='submit'><input type='hidden' name='widget_id' value='$meta_box[id]' /><input type='submit' value='" . __( 'Sumbit' ) . "' /></p>"; 
     120        echo "<p class='submit'><input type='hidden' name='widget_id' value='$meta_box[id]' /><input type='submit' value='" . __( 'Submit' ) . "' /></p>"; 
    121121 
    122122        echo '</form>';  
    123123}