WPML
상태
해결됨
보고된 제품
Advanced Custom Fields Multilingual 2.0.3
해결된 버전
2.0.4
관련 플러그인/테마
Advanced Custom Fields (ACF)
주제 태그
Compatibility

문제 개요

Advanced Custom Fields Multilingual 2.0 릴리스는 웹사이트의 프런트엔드와 백엔드 모두에 상당한 성능 영향을 미칠 수 있습니다.

임시 해결 방법

진행하기 전에 사이트를 전체 백업하세요.


  1. …/wp-content/plugins/acfml/classes/Strings/STPluginHooks.php 파일을 여세요.

  2. 36번 줄을 찾으세요.

  3. 다음 코드를:

    		if ( $this->needsRegistration() ) {
    			Hooks::onAction( 'wp_loaded' )
    				->then( [ $this, 'maybeRegisterFieldGroupsStrings' ] );
    		} else {
    			$this->setPluginStatus( self::PLUGIN_STATUS_DEACTIVATED );
    		}

    다음과 같이 변경하세요:
    		if ( ! defined( 'WPML_ST_VERSION' ) ) {
    			$this->setPluginStatus( self::PLUGIN_STATUS_DEACTIVATED );
    		}
    
    		if ( $this->needsRegistration() ) {
    			Hooks::onAction( 'wp_loaded' )
    				->then( [ $this, 'maybeRegisterFieldGroupsStrings' ] );
    		}

참고: 사용자 정의 필드 설정 페이지를 다시 새로 고침해야 할 수도 있습니다.

알려진 모든 문제 →