[wp-trac] [WordPress Trac] #57644: Do not show language spinner if dropdown has been removed
WordPress Trac
noreply at wordpress.org
Mon Feb 6 17:45:53 UTC 2023
#57644: Do not show language spinner if dropdown has been removed
--------------------------+----------------------------
Reporter: swissspidy | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: I18N | Version:
Severity: minor | Keywords: has-patch
Focuses: |
--------------------------+----------------------------
Noticed after working on #38664.
Core contains some code to display a spinner next to the submit button
when selecting a language from the dropdown that has first to be
installed. However, it does not check whether the dropdown does actually
exist on the page, as some plugins do remove it & replace it with a custom
solution.
We should prevent displaying a spinner in such cases as it's misleading.
Plugins themselves can't do that because the JS is not easy to remove.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57644>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list