Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turkish localization #67

Open
ghost opened this issue Jun 3, 2016 · 0 comments
Open

Turkish localization #67

ghost opened this issue Jun 3, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 3, 2016

The current_action() function returned cherry-secenekleri-eklendi_page_options for Cherry Options page. This string was not found in self::$pages, so $page_content will be NULL, and the call_user_func( $page_content ) call will throw an error.

/lib/admin/class-cherry-page-builder.php

$page_hook = current_action();
$page_attr = array_key_exists ( $page_hook , self::$pages[ 'parent' ] ) ? self::$pages[ 'parent' ][ $page_hook ] : self::$pages[ 'child' ][ $page_hook ] ;
$page_content = is_array($page_attr[ 'function' ]) ? $page_attr[ 'function' ][0].'::'.$page_attr[ 'function' ][1] : $page_attr[ 'function' ] ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants