Skip to content

Releases: aucor/polylang-smart-language-select-disabler

Disable default language change select and code style

25 May 11:32
210a2e4
Compare
Choose a tag to compare

Changing site default language will probably cause some issues if you don't knows what you are doing. Disable the availability to do so, unless the user know what they are doing. Also, use WordPress coding standards to make contributing easier. Props to @timiwahalahti for changes in this release.

Minor fixes

05 Feb 18:23
Compare
Choose a tag to compare
  • Fix occasinally appearing "headers already sent" PHP warning
  • Fix valid composer.json license

Remove create_function usage and include license

11 Jan 07:46
Compare
Choose a tag to compare
  • Replace create_function() with anonymous function props @ville6000
  • Inluce GPL2 license

More stable select disable functionality

19 Jul 08:19
Compare
Choose a tag to compare

The HTML attribute "disabled" caused many problems. The disabling was changed so that the select is hidden with CSS and in its place, plain paragraph with current language is displayed. This is also better for a11y. Bugs with terms should be history.

Made this a "major" release because lot changes in the background and there is even a small change in the front-end (the disabled select). All filters etc will work as before.

Fix bug when adding a new term translation

14 Dec 18:24
Compare
Choose a tag to compare

Disabling the language select messes up creating new term translation. The translation wasn't linked to the original term because of the disabled attribute. Tried to remove the disabled attribute on submit but couldn't get it work for some reason with WordPress admin form. Removed the disabling for now on that view. Props to @tnottu

Fixed composer.json GPL line to be valid. Props to @onnimonni

Initial release

05 Nov 18:56
Compare
Choose a tag to compare
0.1.0

init