Make WordPress Core

Changeset 52014


Ignore:
Timestamp:
11/04/2021 11:30:01 PM (2 years ago)
Author:
hellofromTonya
Message:

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.

File:
1 edited

Legend:

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

    r51971 r52014  
    243243    wp_nonce_field( 'edit-dashboard-widget_' . $meta_box['id'], 'dashboard-widget-nonce' );
    244244    echo '<input type="hidden" name="widget_id" value="' . esc_attr( $meta_box['id'] ) . '" />';
    245     submit_button( __( 'Submit' ) );
     245    submit_button( __( 'Save Changes' ) );
    246246    echo '</form>';
    247247}
Note: See TracChangeset for help on using the changeset viewer.