pluginkollektiv / statify

Statify – statistics plugin for WordPress
https://wordpress.org/plugins/statify/
GNU General Public License v3.0
76 stars 22 forks source link

Dashboard configuration page has "Submit" button (not "Save changes") #218

Closed Zodiac1978 closed 2 years ago

Zodiac1978 commented 2 years ago

The dashboard widget has a back view. After clicking on configure you get a "backend" with a small settings group. Unfortunately it says "Submit" (DE: Senden) and not "Save changes" (DE: Änderungen speichern).

The problem lays within _wp_dashboard_control_callback which is called to render the control view from our /views/widget-back.php.

In this private core function the label of the button is hardcoded. https://github.com/WordPress/WordPress/blob/b10b4a2586fa32e0cbee4e801f14db0037e5ec3a/wp-admin/includes/dashboard.php#L245

Zodiac1978 commented 2 years ago

Reported upstream: https://core.trac.wordpress.org/ticket/54229

Zodiac1978 commented 2 years ago

Fixed in WordPress 5.9