[wp-trac] [WordPress Trac] #39673: wp_dropdown_languages() shows wrong list of installed languages, when 'languages' is empty
WordPress Trac
noreply at wordpress.org
Tue May 30 08:40:32 UTC 2023
#39673: wp_dropdown_languages() shows wrong list of installed languages, when
'languages' is empty
-------------------------+----------------------
Reporter: lhrng | Owner: (none)
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: I18N | Version: 4.8
Severity: normal | Resolution: wontfix
Keywords: | Focuses:
-------------------------+----------------------
Changes (by swissspidy):
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
I think the expectation here is that the list of installed languages has
to always be provided. That's how core and the few plugins using this
function handle it. Quite useful because then you can easily only show the
dropdown when there are actually some languages. Doesn't seem like it's
worth adding such a default.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39673#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list