mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Administration: Make dashboard widget control submit button text more clear.
Changes the submit button text from "Submit" to "Save Changes". Why? The text is more semantic and clear of what happens when activating that button. Follow-up to [9103]. Props zodiac1978, knutsp, hilayt24, audrasjb. Fixes #54229. git-svn-id: https://develop.svn.wordpress.org/trunk@52014 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
58adc101d7
commit
243149b2c0
@ -242,7 +242,7 @@ function _wp_dashboard_control_callback( $dashboard, $meta_box ) {
|
||||
wp_dashboard_trigger_widget_control( $meta_box['id'] );
|
||||
wp_nonce_field( 'edit-dashboard-widget_' . $meta_box['id'], 'dashboard-widget-nonce' );
|
||||
echo '<input type="hidden" name="widget_id" value="' . esc_attr( $meta_box['id'] ) . '" />';
|
||||
submit_button( __( 'Submit' ) );
|
||||
submit_button( __( 'Save Changes' ) );
|
||||
echo '</form>';
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user