WordPress.org

Ready to get started?Download WordPress

Forums

Polylang
[resolved] String translation index error (2 posts)

  1. John P. Bloch
    Member
    Posted 1 year ago #

    Hi,

    There's an undefined index error on the strings translation tab when viewing only one language.

    I added the following to the Polylang_Admin file at line 237 and it fixed the issue:

    if (empty($_POST['translation'][$language->name])) {
    	continue;
    }

    Here's the fix in patch form: http://cl.ly/code/3847153u0j3I

    Thanks!
    -John

    http://wordpress.org/extend/plugins/polylang/

  2. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    Yes of course you are right! Thank you for the bug report and proposed correction. I will include this in the next release.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags