Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#13023 closed defect (bug) (fixed)

Use get_available_languages() in options-general.php

Reported by: ryan's profile ryan Owned by: nbachiyski's profile nbachiyski
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: I18N Keywords: has-patch
Focuses: Cc:


The language picker in options-general.php should use get_available_languages(). See ms-edit.php and ms-options.php for example usage.

Attachments (1)

13023.diff (1011 bytes) - added by sivel 14 years ago.

Download all attachments as: .zip

Change History (5)

#1 @PeteMall
14 years ago

  • Cc pete@… added

14 years ago

#2 @sivel
14 years ago

  • Component changed from General to i18n
  • Keywords has-patch added
  • Owner set to nbachiyski
  • Version set to 3.0

Patch switched options-general.php to use get_available_languages.

#3 @nbachiyski
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [14416]) Use get_available_languages() in options-general.php instead of manually looping on the language dir. Props sivel. Fixes #13023

#4 @nbachiyski
14 years ago

(In [14417]) Refactor get_available_languages() to use glob() instead of *dir functions. See #13023

Note: See TracTickets for help on using tickets.