탐색 건너뛰기

Open

Reported for: WPML String Translation 3.2.14

Topic Tags: Bug, Compatibility

Overview of the issue

If your user’s profile language is different from the site’s default language, visiting the WordPress Customizer causes original strings to be replaced by their translations. This occurs with admin strings registered in WPML > String Translation.

This issue may affect themes that use Customizer options such as Astra Theme.

Workaround

Please, make sure of having a full site backup of your site before proceeding.

  • Open …/wp-content/plugins/wpml-string-translation/inc/admin-texts/wpml-admin-texts.class.php file.
  • Look for line 214.
  • Replace:
    		$isAdmin = is_admin() && ! wpml_is_ajax();
    
  • With:
    		$isAdmin = is_admin() && ! wpml_is_ajax() || (($_REQUEST["wp_customize"] == "on") || $_POST["screen_id"] == "customize");
    

답장을 남겨주세요

주제를 유지하고 다른 사람을 존중하십시오. 이 게시물과 관련 없는 문제에 대한 도움이 필요한 경우 지원 포럼을 사용하여 채팅을 시작하거나 티켓을 제출하십시오.

다음 태그를 사용할 수 있습니다.
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>