Skip to content

Releases: dougwollison/nlingual

Admin javascript now transpiled/minified for better browser compatibility.

29 Feb 23:53
Compare
Choose a tag to compare

A while back the javascript for the admin functionality was rewritten to use modern ES6 features/syntax, which has a chance to cause issues on people using the plugin on older browsers. The code is now transpiled with babel.

Fix return value of nL_get_post_lang back-compat function.

13 Feb 17:53
Compare
Choose a tag to compare

The version 1 compatability function nL_get_post_lang was returning the language object, rather than the slug as it should.

Fixed issue with meta values not being localized, and internal WordPress URLs being blindly localized.

12 Aug 15:06
Compare
Choose a tag to compare

Due to a variable typo, localized metadata values were not being used on the frontend. Additionally, internal wordpress URLs (e.g. wp-content, wp-includes, wp-admin, etc) were being blindly localized, causing 404 errors if using subdirectory rewrites.

Hotfix: minor but annoying error with URL previews on settings screen.

23 Jul 13:45
0098a49
Compare
Choose a tag to compare

During the JS cleanup/upgrade, the URL previews were broken and would appear blank.

Fixed issue with Create new translation button not working on subdirectory installs.

15 Jul 14:09
Compare
Choose a tag to compare

Due to the way the link on the Create new translation button was written, it would fail on sites installed within a subdirectory. It has now been fixed to use the correct url provided by admin_url().

Also fixed a rare edge case where a translation had no title, resulting it it appearing like there was no link to it in the Language/Translation column of the posts screen.

Fixed issue preventing translations from keeping the original's publish date.

07 Jul 17:46
Compare
Choose a tag to compare

WordPress doesn't respect setting the post_date_gmt field on drafts unless it's specified by the user. This causes translations to be assigned their own publish date once their published, rather than sharing the original's date. This is now fixed by including the edit_date field when creating/updating the translation.

Fixed issue causing specifically post field clone rules to be ignored.

01 Jul 22:21
Compare
Choose a tag to compare

Another typo, also dating back to October probably, was causing specifically the post_fields part of the sync rules to be silently ignored.

Yeah I'm not very good at QA-ing my stuff.

Fixed issue causing post clone/sync rules to be ignored.

06 May 14:53
Compare
Choose a tag to compare

A typo with the Synchronizer revisions back in October caused the sync/clone rules to be silently ignored.

Fixed issue causing stacking of the prefix on localized URLs.

10 Dec 23:48
1c8f006
Compare
Choose a tag to compare

The Rewriter::localize_url() tool used to accept an optional $relocalize parameter. If this wasn't set, the URL would not be delocalized before localizing, making it possible for a URL to be double localized (e.g. /fr/fr/), and therefore a redirect loop if the cached result made was used by the redirect handler.

The option has been removed and the URL will now always be delocalized before localizing for consistency.

Fixed handling of sites running on subdirectories, fixed issue with paginated urls.

23 Nov 17:52
613ade5
Compare
Choose a tag to compare

Added a check to the home URL localizing to check if wordpress is still setting up. If it's not and wordpress gets the localized URL for parsing the request, it'll break links on sites running on subdirectories in certain circumstances.

Also fixed an issue that caused paginated URLs to have a double slash, causing a redirect loop.