WPML

문제 개요

새 글을 작성하거나 기존 글을 편집할 때, 오른쪽 사이드바에서 WPML 언어 탭 콘텐츠가 사라지고 0만 표시됩니다.

임시 해결 방법

이 문제는 해결되었습니다. 최신 버전으로 업데이트하면 사이트에서 이 문제가 해결되므로, 아직 업데이트할 수 없는 경우에만 이 임시 해결 방법이 필요합니다.

다음 임시 해결 방법을 진행하기 전에 웹사이트를 백업하세요:

  1. wp-content/themes/realhomes/framework/functions/design-variations-handler.php 파일을 여세요
  2. 다음 스니펫을:
    $wpml_current_lang = apply_filters( 'wpml_current_language', null );
    if ( $wpml_current_lang ) {
       $ajax_url = add_query_arg( 'wpml_lang', $wpml_current_lang, $ajax_url );
    }

    다음과 같이 교체하세요:

    $wpml_current_lang = apply_filters( 'wpml_current_language', null );
    if ( $wpml_current_lang && ! is_admin() ) {
    	$ajax_url = add_query_arg( 'wpml_lang', $wpml_current_lang, $ajax_url );
    }

모든 알려진 문제

여전히 이 문제가 발생합니까?

업데이트해도 문제가 해결되지 않으면 지원 문의를 하세요. 함께 살펴보겠습니다.