Skip to content

display_deposit return false for ajax #6

@megabait1212

Description

@megabait1212

Hi,
Script return false when it's called from ajax. Please add a validation for Ajax in the method "display_deposit". Thank you

static function display_deposit() {
        $display = true;

        if (is_admin() && !wp_doing_ajax())
            return false;

        $display = apply_filters('display_deposit', $display);

        return $display;
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions