We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0b74f5c + 8bbcd4e commit 4ae0b5bCopy full SHA for 4ae0b5b
classes/requirements.php
@@ -12,7 +12,7 @@ class Requirements {
12
* @return bool
13
*/
14
public function check_requirements() {
15
- if ( ! function_exists( 'acf' ) || ! function_exists( 'pll_current_language' ) ) {
+ if ( ! function_exists( 'acf' ) || ! defined( 'POLYLANG_VERSION' ) ) {
16
$this->display_error( __( 'Advanced Custom Fields and Polylang are required plugins.', 'bea-acf-options-for-polylang' ) );
17
18
return false;
0 commit comments