Viewing 2 replies - 1 through 2 (of 2 total)
  • I can confirm this issue.

    Change

    if ( ( $instance['dw_include'] && false == $show ) || ( 0 == $instance['dw_include'] && $show ) ) {
        return false;
    } else if ( defined('ICL_LANGUAGE_CODE') && $instance['dw_include'] && $show && ! isset( $instance[ 'lang-' . ICL_LANGUAGE_CODE ] ) ) {
        //if the widget has to be visible here, but the current language has not been checked, return false
        return false;
    }

    to this

    if ( ( $instance['dw_include'] && false == $show ) || ( 0 == $instance['dw_include'] && $show ) ) {
    	return false;
    } else if ( defined('ICL_LANGUAGE_CODE') && $instance['dw_include'] && $show && ! isset( $instance[ 'lang-' . ICL_LANGUAGE_CODE ] ) ) {
    	//if the widget has to be visible here, but the current language has not been checked, return false
    	//return false;
    }

    +1 … maybe this plugin author will get around to fixing this one of these years ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Compatibility Polylang’ is closed to new replies.