Automattic / wp-cldr

Use CLDR localization data in WordPress
GNU General Public License v2.0
24 stars 6 forks source link

fix redundant parameter on plugin settings page #69

Closed stuwest closed 8 years ago

stuwest commented 8 years ago

Getting an extra URL parameter on the plugin page. Something going on with submit_button(). Here's how to reproduce:

  1. open plugin settings page /wp-admin/options-general.php?page=wp-cldr
  2. change locale to something else eg Swiss German: screen shot 2016-02-29 at 12 45 02 pm
  3. look at URL which in above case is http://localhost:8888/wp-admin/options-general.php?locale=de_CH&page=wp-cldr&country=US&submit=Update+examples