Skip to content

Turkish localization #67

@ghost

Description

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' ] ;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions