Skip to content

Load public.js conditionally #8

@viktorix

Description

@viktorix

It looks like the plugin loads public.js without any conditions. I disabled WP_DEBUG and even turned off the error logging switch, but public.js continues to be enqueued. If debugging is disabled, this should disable public.js too. Or at least provide an option to disable it. I wouldn't want to load this for regular visitors.

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