[wp-trac] [WordPress Trac] #38871: Rename 'show_site_locale_default' to 'show_option_site_default'

WordPress Trac noreply at wordpress.org
Sat Nov 19 14:17:23 UTC 2016


#38871: Rename 'show_site_locale_default' to 'show_option_site_default'
----------------------------+-----------------------
 Reporter:  SergeyBiryukov  |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  4.7
Component:  I18N            |    Version:  trunk
 Severity:  normal          |   Keywords:  has-patch
  Focuses:                  |
----------------------------+-----------------------
 [39169] introduced a `show_site_locale_default` argument for
 `wp_dropdown_languages()`, which adds a 'Site Default' option to the user-
 specific language setting.

 I'm not a native English speaker, but the wording of the argument name
 sounds confusing to me.

 Any chance to rename it to `show_option_site_default`, for consistency
 with `show_option_all` and `show_option_none` arguments in
 `wp_dropdown_categories()`?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38871>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list